#include <PXBDetId.h>
Public Member Functions | |
unsigned int | ladder () const |
ladder id More... | |
unsigned int | layer () const |
layer id More... | |
unsigned int | module () const |
det id More... | |
PXBDetId () | |
PXBDetId (uint32_t rawid) | |
PXBDetId (const DetId &id) | |
PXBDetId (uint32_t layer, uint32_t ladder, uint32_t module) | |
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 | ladderMask_ = 0xFF |
static const unsigned int | ladderStartBit_ = 8 |
static const unsigned int | layerMask_ = 0xF |
two bits would be enough, but we could use the number "0" as a wildcard More... | |
static const unsigned int | layerStartBit_ = 16 |
two bits would be enough, but we could use the number "0" as a wildcard More... | |
static const unsigned int | moduleMask_ = 0x3F |
static const unsigned int | moduleStartBit_ = 2 |
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 16 of file PXBDetId.h.
PXBDetId::PXBDetId | ( | ) |
PXBDetId::PXBDetId | ( | uint32_t | rawid | ) |
PXBDetId::PXBDetId | ( | const DetId & | id | ) |
|
inline |
Definition at line 25 of file PXBDetId.h.
References DetId::id_, ladderMask_, ladderStartBit_, layerMask_, layerStartBit_, moduleMask_, and moduleStartBit_.
|
inline |
ladder id
Definition at line 39 of file PXBDetId.h.
References DetId::id_, ladderMask_, and ladderStartBit_.
Referenced by FWTrackHitsDetailView::addModules(), SiPixelHitEfficiencySource::analyze(), PixelBarrelName::PixelBarrelName(), PixelBarrelNameUpgrade::PixelBarrelNameUpgrade(), FW3DViewGeometry::showPixelBarrel(), and trackerHierarchy().
|
inline |
layer id
Definition at line 35 of file PXBDetId.h.
References DetId::id_, layerMask_, and layerStartBit_.
Referenced by FWTrackHitsDetailView::addModules(), FWTGeoRecoGeometryESProducer::addPixelBarrelGeometry(), PixelThresholdClusterizer::calibrate(), PixelThresholdClusterizer::copy_to_buffer(), reco::DeDxHit::DeDxHit(), reco::HitPattern::encode(), GeometricSearchTracker::idToLayer(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), DetIdInfo::info(), fireworks::info(), PFCheckHitPattern::interpretDetId(), ClusterSummary::ModuleSelection::IsPixelSelected(), PixelCPEGeneric::localError(), DetIdPXBSameLayerComparator::operator()(), PixelBarrelName::PixelBarrelName(), PixelBarrelNameUpgrade::PixelBarrelNameUpgrade(), FW3DViewGeometry::showPixelBarrel(), and trackerHierarchy().
|
inline |
det id
Definition at line 43 of file PXBDetId.h.
References DetId::id_, moduleMask_, and moduleStartBit_.
Referenced by FWTrackHitsDetailView::addModules(), FWTGeoRecoGeometryESProducer::addPixelBarrelGeometry(), SiPixelHitEfficiencySource::analyze(), SiPixelHitEfficiencyModule::fill(), PixelBarrelName::PixelBarrelName(), PixelBarrelNameUpgrade::PixelBarrelNameUpgrade(), FW3DViewGeometry::showPixelBarrel(), and trackerHierarchy().
|
staticprivate |
Definition at line 53 of file PXBDetId.h.
Referenced by ladder(), and PXBDetId().
|
staticprivate |
Definition at line 49 of file PXBDetId.h.
Referenced by ladder(), and PXBDetId().
|
staticprivate |
two bits would be enough, but we could use the number "0" as a wildcard
Definition at line 52 of file PXBDetId.h.
Referenced by layer(), and PXBDetId().
|
staticprivate |
two bits would be enough, but we could use the number "0" as a wildcard
Definition at line 48 of file PXBDetId.h.
Referenced by layer(), and PXBDetId().
|
staticprivate |
Definition at line 54 of file PXBDetId.h.
Referenced by module(), and PXBDetId().
|
staticprivate |
Definition at line 50 of file PXBDetId.h.
Referenced by module(), and PXBDetId().