#include <PXFDetId.h>
Public Member Functions | |
unsigned int | blade () const |
blade id More... | |
unsigned int | disk () const |
disk id More... | |
unsigned int | module () const |
det id More... | |
unsigned int | panel () const |
panel id More... | |
PXFDetId () | |
PXFDetId (uint32_t rawid) | |
PXFDetId (const DetId &id) | |
PXFDetId (uint32_t side, uint32_t disk, uint32_t blade, uint32_t panel, uint32_t module) | |
unsigned int | side () const |
positive or negative id More... | |
Public Member Functions inherited from DetId | |
Detector | det () const |
get the detector field from this detid More... | |
DetId () | |
Create an empty or null id (also for persistence) More... | |
DetId (uint32_t id) | |
Create an id from a raw number. More... | |
DetId (Detector det, int subdet) | |
Create an id, filling the detector and subdetector fields as specified. More... | |
bool | null () const |
is this a null id ? More... | |
operator uint32_t () const | |
bool | operator!= (DetId id) const |
inequality More... | |
uint32_t | operator() () const |
bool | operator< (DetId id) const |
comparison More... | |
bool | operator== (DetId id) const |
equality More... | |
uint32_t | rawId () const |
get the raw id More... | |
int | subdetId () const |
get the contents of the subdetector field (not cast into any detector's numbering enum) More... | |
Static Private Attributes | |
static const unsigned int | bladeMask_ = 0x3F |
static const unsigned int | bladeStartBit_ = 10 |
static const unsigned int | diskMask_ = 0xF |
static const unsigned int | diskStartBit_ = 16 |
static const unsigned int | moduleMask_ = 0x3F |
static const unsigned int | moduleStartBit_ = 2 |
static const unsigned int | panelMask_ = 0x3 |
static const unsigned int | panelStartBit_ = 8 |
static const unsigned int | sideMask_ = 0x3 |
two bits would be enough, but we could use the number "0" as a wildcard More... | |
static const unsigned int | sideStartBit_ = 23 |
two bits would be enough, but we could use the number "0" as a wildcard More... | |
Additional Inherited Members | |
Public Types inherited from DetId | |
enum | Detector { Tracker =1, Muon =2, Ecal =3, Hcal =4, Calo =5 } |
Static Public Attributes inherited from DetId | |
static const int | kDetOffset = 28 |
static const int | kSubdetOffset = 25 |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Definition at line 15 of file PXFDetId.h.
PXFDetId::PXFDetId | ( | ) |
PXFDetId::PXFDetId | ( | uint32_t | rawid | ) |
PXFDetId::PXFDetId | ( | const DetId & | id | ) |
|
inline |
Definition at line 24 of file PXFDetId.h.
References bladeMask_, bladeStartBit_, diskMask_, diskStartBit_, DetId::id_, moduleMask_, moduleStartBit_, panelMask_, panelStartBit_, sideMask_, and sideStartBit_.
|
inline |
blade id
Definition at line 48 of file PXFDetId.h.
References bladeMask_, bladeStartBit_, and DetId::id_.
Referenced by FWTrackHitsDetailView::addModules(), PixelEndcapName::PixelEndcapName(), FW3DViewGeometry::showPixelEndcap(), and trackerHierarchy().
|
inline |
disk id
Definition at line 43 of file PXFDetId.h.
References diskMask_, diskStartBit_, and DetId::id_.
Referenced by FWTrackHitsDetailView::addModules(), reco::DeDxHit::DeDxHit(), reco::HitPattern::encode(), GeometricSearchTracker::idToLayer(), PFCheckHitPattern::interpretDetId(), ClusterSummary::ModuleSelection::IsPixelSelected(), DetIdPXFSameDiskComparator::operator()(), PixelEndcapName::PixelEndcapName(), FW3DViewGeometry::showPixelEndcap(), and trackerHierarchy().
|
inline |
det id
Definition at line 56 of file PXFDetId.h.
References DetId::id_, moduleMask_, and moduleStartBit_.
Referenced by FWTrackHitsDetailView::addModules(), PixelEndcapName::PixelEndcapName(), FW3DViewGeometry::showPixelEndcap(), and trackerHierarchy().
|
inline |
panel id
Definition at line 52 of file PXFDetId.h.
References DetId::id_, panelMask_, and panelStartBit_.
Referenced by FWTrackHitsDetailView::addModules(), PixelEndcapName::PixelEndcapName(), FW3DViewGeometry::showPixelEndcap(), and trackerHierarchy().
|
inline |
positive or negative id
Definition at line 38 of file PXFDetId.h.
References DetId::id_, sideMask_, and sideStartBit_.
Referenced by FWTrackHitsDetailView::addModules(), ClusterSummary::ModuleSelection::IsPixelSelected(), DetIdPXFSameDiskComparator::operator()(), PixelEndcapName::PixelEndcapName(), FW3DViewGeometry::showPixelEndcap(), and trackerHierarchy().
|
staticprivate |
Definition at line 70 of file PXFDetId.h.
Referenced by blade(), and PXFDetId().
|
staticprivate |
Definition at line 63 of file PXFDetId.h.
Referenced by blade(), and PXFDetId().
|
staticprivate |
Definition at line 69 of file PXFDetId.h.
Referenced by disk(), and PXFDetId().
|
staticprivate |
Definition at line 62 of file PXFDetId.h.
Referenced by disk(), and PXFDetId().
|
staticprivate |
Definition at line 72 of file PXFDetId.h.
Referenced by module(), and PXFDetId().
|
staticprivate |
Definition at line 65 of file PXFDetId.h.
Referenced by module(), and PXFDetId().
|
staticprivate |
Definition at line 71 of file PXFDetId.h.
Referenced by panel(), and PXFDetId().
|
staticprivate |
Definition at line 64 of file PXFDetId.h.
Referenced by panel(), and PXFDetId().
|
staticprivate |
two bits would be enough, but we could use the number "0" as a wildcard
Definition at line 68 of file PXFDetId.h.
Referenced by PXFDetId(), and side().
|
staticprivate |
two bits would be enough, but we could use the number "0" as a wildcard
Definition at line 61 of file PXFDetId.h.
Referenced by PXFDetId(), and side().