#include <PXFDetId.h>
Public Member Functions | |
unsigned int | blade () const |
blade id | |
unsigned int | disk () const |
disk id | |
unsigned int | module () const |
det id | |
unsigned int | panel () const |
panel id | |
PXFDetId (const DetId &id) | |
PXFDetId () | |
PXFDetId (uint32_t side, uint32_t disk, uint32_t blade, uint32_t panel, uint32_t module) | |
PXFDetId (uint32_t rawid) | |
unsigned int | side () const |
positive or negative id | |
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 | |
static const unsigned int | sideStartBit_ = 23 |
two bits would be enough, but we could use the number "0" as a wildcard |
Definition at line 15 of file PXFDetId.h.
PXFDetId::PXFDetId | ( | ) |
PXFDetId::PXFDetId | ( | uint32_t | rawid | ) |
PXFDetId::PXFDetId | ( | const DetId & | id | ) |
PXFDetId::PXFDetId | ( | uint32_t | side, |
uint32_t | disk, | ||
uint32_t | blade, | ||
uint32_t | panel, | ||
uint32_t | module | ||
) | [inline] |
Definition at line 24 of file PXFDetId.h.
References bladeMask_, bladeStartBit_, diskMask_, diskStartBit_, DetId::id_, moduleMask_, moduleStartBit_, panelMask_, panelStartBit_, sideMask_, and sideStartBit_.
: DetId(DetId::Tracker,PixelSubdetector::PixelEndcap){ id_ |= (side& sideMask_) << sideStartBit_ | (disk& diskMask_) << diskStartBit_ | (blade& bladeMask_) << bladeStartBit_ | (panel& panelMask_) << panelStartBit_ | (module& moduleMask_) << moduleStartBit_ ; }
unsigned int PXFDetId::blade | ( | ) | const [inline] |
blade id
Definition at line 48 of file PXFDetId.h.
References bladeMask_, bladeStartBit_, and DetId::id_.
Referenced by SiPixelDigiValid::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), SiPixelLorentzAngle::analyze(), align::tpe::bladeNumber(), RingMaker::determineExtensions(), RingMaker::dumpDetIds(), TrackerGeometryCompare::fillIdentifiers(), RingMaker::fillPXFGeometryArray(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), HitInfo::getInfo(), align::tpe::halfCylinderNumber(), TrackCleaner::isCompatible(), AlignmentParameterSelector::outsideDetIdRanges(), PixelEndcapName::PixelEndcapName(), RoadSearchDetIdHelper::Print(), and trackerHierarchy().
{ return ((id_>>bladeStartBit_) & bladeMask_) ;}
unsigned int PXFDetId::disk | ( | ) | const [inline] |
disk id
Definition at line 43 of file PXFDetId.h.
References diskMask_, diskStartBit_, and DetId::id_.
Referenced by SiPixelDigiValid::analyze(), SiPixelMuonHLT::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), ElectronSeedAnalyzer::analyze(), SiPixelLorentzAngle::analyze(), reco::DeDxHit::DeDxHit(), RingMaker::determineExtensions(), RingMaker::dumpDetIds(), AlignmentStats::endJob(), TrackerGeometryCompare::fillIdentifiers(), RingMaker::fillPXFGeometryArray(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), KFTrajectoryFitter::fit(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), getDetLayer(), HitInfo::getInfo(), TrajectoryCleanerMerger::getLayer(), ValidHitPairFilter::getLayer(), GlobalMuonRefitter::getRidOfSelectStationHits(), TrackTransformerForGlobalCosmicMuons::getTransientRecHits(), align::tpe::halfDiskNumber(), GeometricSearchTracker::idToLayer(), PFCheckHitPattern::interpretDetId(), TrackCleaner::isCompatible(), reco::modules::TrackerTrackHitFilter::Rule::layer(), MuonAssociatorByHits::LayerFromDetid(), TrackingTruthProducer::LayerFromDetid(), TrackAssociatorByHits::LayerFromDetid(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), TrajectoryManager::makeSinglePSimHit(), DetIdPXFSameDiskComparator::operator()(), HitComparatorByRadius::operator()(), AlignmentParameterSelector::outsideDetIdRanges(), PixelEndcapName::PixelEndcapName(), HitPixelLayersTPSelector::pixelHitPattern(), RoadSearchDetIdHelper::Print(), reco::HitPattern::set(), trackerHierarchy(), TrackTransformerForGlobalCosmicMuons::TrackerKeep(), KFTrajectorySmoother::trajectories(), and TrackerAlignableId::typeAndLayerFromDetId().
{ return int((id_>>diskStartBit_) & diskMask_); }
unsigned int PXFDetId::module | ( | ) | const [inline] |
det id
Definition at line 56 of file PXFDetId.h.
References DetId::id_, moduleMask_, and moduleStartBit_.
Referenced by SiPixelDigiValid::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), SiPixelLorentzAngle::analyze(), RingMaker::determineExtensions(), RingMaker::dumpDetIds(), TrackerGeometryCompare::fillIdentifiers(), RingMaker::fillPXFGeometryArray(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), HitInfo::getInfo(), TrackCleaner::isCompatible(), align::tpe::moduleNumber(), AlignmentParameterSelector::outsideDetIdRanges(), PixelEndcapName::PixelEndcapName(), RoadSearchDetIdHelper::Print(), and trackerHierarchy().
{ return ((id_>>moduleStartBit_) & moduleMask_) ;}
unsigned int PXFDetId::panel | ( | ) | const [inline] |
panel id
Definition at line 52 of file PXFDetId.h.
References DetId::id_, panelMask_, and panelStartBit_.
Referenced by SiPixelDigiValid::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), SiPixelLorentzAngle::analyze(), RingMaker::determineExtensions(), TrackerGeometryCompare::fillIdentifiers(), RingMaker::fillPXFGeometryArray(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), HitInfo::getInfo(), TrajectoryCleanerMerger::getLayer(), TrackCleaner::isCompatible(), HitComparatorByRadius::operator()(), AlignmentParameterSelector::outsideDetIdRanges(), align::tpe::panelNumber(), PixelEndcapName::PixelEndcapName(), and trackerHierarchy().
{ return ((id_>>panelStartBit_) & panelMask_) ;}
unsigned int PXFDetId::side | ( | ) | const [inline] |
positive or negative id
Definition at line 38 of file PXFDetId.h.
References DetId::id_, sideMask_, and sideStartBit_.
Referenced by SiPixelDigiValid::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), SiPixelLorentzAngle::analyze(), AlignmentTrackSelector::detailedHitsCheck(), RingMaker::determineExtensions(), RingMaker::dumpDetIds(), align::tpe::endcapNumber(), TrackerGeometryCompare::fillIdentifiers(), RingMaker::fillPXFGeometryArray(), MillePedeMonitor::fillTrack(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), HitInfo::getInfo(), ValidHitPairFilter::getLayer(), TrackCleaner::isCompatible(), TkAlCaOverlapTagger::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), AlignmentPrescaler::layerFromId(), DetIdPXFSameDiskComparator::operator()(), AlignmentParameterSelector::outsideDetIdRanges(), PixelEndcapName::PixelEndcapName(), RoadSearchDetIdHelper::Print(), ResidualRefitting::StoreTrackerRecHits(), and trackerHierarchy().
{ return int((id_>>sideStartBit_) & sideMask_); }
const unsigned int PXFDetId::bladeMask_ = 0x3F [static, private] |
Definition at line 70 of file PXFDetId.h.
Referenced by blade(), and PXFDetId().
const unsigned int PXFDetId::bladeStartBit_ = 10 [static, private] |
Definition at line 63 of file PXFDetId.h.
Referenced by blade(), and PXFDetId().
const unsigned int PXFDetId::diskMask_ = 0xF [static, private] |
Definition at line 69 of file PXFDetId.h.
Referenced by disk(), and PXFDetId().
const unsigned int PXFDetId::diskStartBit_ = 16 [static, private] |
Definition at line 62 of file PXFDetId.h.
Referenced by disk(), and PXFDetId().
const unsigned int PXFDetId::moduleMask_ = 0x3F [static, private] |
Definition at line 72 of file PXFDetId.h.
Referenced by module(), and PXFDetId().
const unsigned int PXFDetId::moduleStartBit_ = 2 [static, private] |
Definition at line 65 of file PXFDetId.h.
Referenced by module(), and PXFDetId().
const unsigned int PXFDetId::panelMask_ = 0x3 [static, private] |
Definition at line 71 of file PXFDetId.h.
Referenced by panel(), and PXFDetId().
const unsigned int PXFDetId::panelStartBit_ = 8 [static, private] |
Definition at line 64 of file PXFDetId.h.
Referenced by panel(), and PXFDetId().
const unsigned int PXFDetId::sideMask_ = 0x3 [static, private] |
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().
const unsigned int PXFDetId::sideStartBit_ = 23 [static, private] |
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().