#include <TrackerTopology.h>
Classes | |
struct | PixelBarrelValues |
struct | PixelEndcapValues |
struct | TECValues |
struct | TIBValues |
struct | TIDValues |
struct | TOBValues |
Public Member Functions | |
unsigned int | layer (const DetId &id) const |
unsigned int | module (const DetId &id) const |
std::string | print (DetId detid) const |
DetId | pxbDetId (uint32_t layer, uint32_t ladder, uint32_t module) const |
unsigned int | pxbLadder (const DetId &id) const |
unsigned int | pxbLayer (const DetId &id) const |
unsigned int | pxbModule (const DetId &id) const |
unsigned int | pxfBlade (const DetId &id) const |
DetId | pxfDetId (uint32_t side, uint32_t disk, uint32_t blade, uint32_t panel, uint32_t module) const |
unsigned int | pxfDisk (const DetId &id) const |
unsigned int | pxfModule (const DetId &id) const |
unsigned int | pxfPanel (const DetId &id) const |
unsigned int | pxfSide (const DetId &id) const |
DetId | tecDetId (uint32_t side, uint32_t wheel, uint32_t petal_fw_bw, uint32_t petal, uint32_t ring, uint32_t module, uint32_t ster) const |
uint32_t | tecGlued (const DetId &id) const |
bool | tecIsBackPetal (const DetId &id) const |
bool | tecIsDoubleSide (const DetId &id) const |
bool | tecIsFrontPetal (const DetId &id) const |
bool | tecIsRPhi (const DetId &id) const |
bool | tecIsStereo (const DetId &id) const |
bool | tecIsZMinusSide (const DetId &id) const |
bool | tecIsZPlusSide (const DetId &id) const |
unsigned int | tecModule (const DetId &id) const |
unsigned int | tecOrder (const DetId &id) const |
std::vector< unsigned int > | tecPetalInfo (const DetId &id) const |
unsigned int | tecPetalNumber (const DetId &id) const |
unsigned int | tecRing (const DetId &id) const |
ring id | |
unsigned int | tecSide (const DetId &id) const |
uint32_t | tecStereo (const DetId &id) const |
unsigned int | tecWheel (const DetId &id) const |
DetId | tibDetId (uint32_t layer, uint32_t str_fw_bw, uint32_t str_int_ext, uint32_t str, uint32_t module, uint32_t ster) const |
uint32_t | tibGlued (const DetId &id) const |
bool | tibIsDoubleSide (const DetId &id) const |
bool | tibIsExternalString (const DetId &id) const |
bool | tibIsInternalString (const DetId &id) const |
bool | tibIsRPhi (const DetId &id) const |
bool | tibIsStereo (const DetId &id) const |
bool | tibIsZMinusSide (const DetId &id) const |
bool | tibIsZPlusSide (const DetId &id) const |
unsigned int | tibLayer (const DetId &id) const |
unsigned int | tibModule (const DetId &id) const |
unsigned int | tibOrder (const DetId &id) const |
unsigned int | tibSide (const DetId &id) const |
uint32_t | tibStereo (const DetId &id) const |
unsigned int | tibString (const DetId &id) const |
std::vector< unsigned int > | tibStringInfo (const DetId &id) const |
DetId | tidDetId (uint32_t side, uint32_t wheel, uint32_t ring, uint32_t module_fw_bw, uint32_t module, uint32_t ster) const |
uint32_t | tidGlued (const DetId &id) const |
bool | tidIsBackRing (const DetId &id) const |
bool | tidIsDoubleSide (const DetId &id) const |
bool | tidIsFrontRing (const DetId &id) const |
bool | tidIsRPhi (const DetId &id) const |
bool | tidIsStereo (const DetId &id) const |
bool | tidIsZMinusSide (const DetId &id) const |
bool | tidIsZPlusSide (const DetId &id) const |
unsigned int | tidModule (const DetId &id) const |
std::vector< unsigned int > | tidModuleInfo (const DetId &id) const |
unsigned int | tidOrder (const DetId &id) const |
unsigned int | tidRing (const DetId &id) const |
unsigned int | tidSide (const DetId &id) const |
uint32_t | tidStereo (const DetId &id) const |
unsigned int | tidWheel (const DetId &id) const |
DetId | tobDetId (uint32_t layer, uint32_t rod_fw_bw, uint32_t rod, uint32_t module, uint32_t ster) const |
uint32_t | tobGlued (const DetId &id) const |
bool | tobIsDoubleSide (const DetId &id) const |
bool | tobIsRPhi (const DetId &id) const |
bool | tobIsStereo (const DetId &id) const |
bool | tobIsZMinusSide (const DetId &id) const |
bool | tobIsZPlusSide (const DetId &id) const |
unsigned int | tobLayer (const DetId &id) const |
unsigned int | tobModule (const DetId &id) const |
unsigned int | tobRod (const DetId &id) const |
std::vector< unsigned int > | tobRodInfo (const DetId &id) const |
unsigned int | tobSide (const DetId &id) const |
uint32_t | tobStereo (const DetId &id) const |
TrackerTopology (const PixelBarrelValues &pxb, const PixelEndcapValues &pxf, const TECValues &tecv, const TIBValues &tibv, const TIDValues &tidv, const TOBValues &tobv) | |
Private Attributes | |
PixelBarrelValues | pbVals_ |
PixelEndcapValues | pfVals_ |
TECValues | tecVals_ |
TIBValues | tibVals_ |
TIDValues | tidVals_ |
TOBValues | tobVals_ |
Definition at line 18 of file TrackerTopology.h.
TrackerTopology::TrackerTopology | ( | const PixelBarrelValues & | pxb, |
const PixelEndcapValues & | pxf, | ||
const TECValues & | tecv, | ||
const TIBValues & | tibv, | ||
const TIDValues & | tidv, | ||
const TOBValues & | tobv | ||
) |
unsigned int TrackerTopology::layer | ( | const DetId & | id | ) | const |
Definition at line 20 of file TrackerTopology.cc.
References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pxbLayer(), pxfDisk(), StripSubdetector::TEC, tecWheel(), StripSubdetector::TIB, tibLayer(), StripSubdetector::TID, tidWheel(), StripSubdetector::TOB, and tobLayer().
Referenced by getDetLayer(), and CkfDebugger::layer().
{ uint32_t subdet=id.subdetId(); if ( subdet == PixelSubdetector::PixelBarrel ) return pxbLayer(id); if ( subdet == PixelSubdetector::PixelEndcap ) return pxfDisk(id); if ( subdet == StripSubdetector::TIB ) return tibLayer(id); if ( subdet == StripSubdetector::TID ) return tidWheel(id); if ( subdet == StripSubdetector::TOB ) return tobLayer(id); if ( subdet == StripSubdetector::TEC ) return tecWheel(id); throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::layer"; return 0; }
unsigned int TrackerTopology::module | ( | const DetId & | id | ) | const |
Definition at line 39 of file TrackerTopology.cc.
References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pxbModule(), pxfModule(), StripSubdetector::TEC, tecModule(), StripSubdetector::TIB, tibModule(), StripSubdetector::TID, tidModule(), StripSubdetector::TOB, and tobModule().
{ uint32_t subdet=id.subdetId(); if ( subdet == PixelSubdetector::PixelBarrel ) return pxbModule(id); if ( subdet == PixelSubdetector::PixelEndcap ) return pxfModule(id); if ( subdet == StripSubdetector::TIB ) return tibModule(id); if ( subdet == StripSubdetector::TID ) return tidModule(id); if ( subdet == StripSubdetector::TOB ) return tobModule(id); if ( subdet == StripSubdetector::TEC ) return tecModule(id); throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::module"; return 0; }
std::string TrackerTopology::print | ( | DetId | detid | ) | const |
Definition at line 58 of file TrackerTopology.cc.
References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pxbLadder(), pxbLayer(), pxbModule(), pxfBlade(), pxfDisk(), pxfModule(), pxfPanel(), AlCaHLTBitMon_QueryRunRegistry::string, StripSubdetector::TEC, tecGlued(), tecIsDoubleSide(), tecModule(), tecPetalInfo(), tecRing(), tecSide(), tecStereo(), tecWheel(), StripSubdetector::TIB, tibGlued(), tibIsDoubleSide(), tibLayer(), tibModule(), tibStereo(), tibStringInfo(), StripSubdetector::TID, tidGlued(), tidIsDoubleSide(), tidModuleInfo(), tidRing(), tidSide(), tidStereo(), tidWheel(), StripSubdetector::TOB, tobGlued(), tobIsDoubleSide(), tobLayer(), tobModule(), tobRodInfo(), and tobStereo().
Referenced by MuonAssociatorByHits::getMatchedIds().
{ uint32_t subdet=id.subdetId(); std::stringstream strstr; if ( subdet == PixelSubdetector::PixelBarrel ) { strstr << "(PixelBarrel " << pxbLayer(id) << ',' << pxbLadder(id) << ',' << pxbModule(id) << ')'; return strstr.str(); } if ( subdet == PixelSubdetector::PixelEndcap ) { strstr << "(PixelEndcap " << pxfDisk(id) << ',' << pxfBlade(id) << ',' << pxfPanel(id) << ',' << pxfModule(id) << ')'; return strstr.str(); } if ( subdet == StripSubdetector::TIB ) { unsigned int theLayer = tibLayer(id); std::vector<unsigned int> theString = tibStringInfo(id); unsigned int theModule = tibModule(id); std::string side; std::string part; side = (theString[0] == 1 ) ? "-" : "+"; part = (theString[1] == 1 ) ? "int" : "ext"; std::string type; type = (tibStereo(id) == 0) ? "r-phi" : "stereo"; type = (tibGlued(id) == 0) ? type : type+" glued"; type = (tibIsDoubleSide(id)) ? "double side" : type; strstr << "TIB" << side << " Layer " << theLayer << " " << part << " String " << theString[2] << " Module " << theModule << " " << type << " (" << id.rawId() << ")"; return strstr.str(); } if ( subdet == StripSubdetector::TID ) { unsigned int theDisk = tidWheel(id); unsigned int theRing = tidRing(id); std::vector<unsigned int> theModule = tidModuleInfo(id); std::string side; std::string part; side = (tidSide(id) == 1 ) ? "-" : "+"; part = (theModule[0] == 1 ) ? "back" : "front"; std::string type; type = (tidStereo(id) == 0) ? "r-phi" : "stereo"; type = (tidGlued(id) == 0) ? type : type+" glued"; type = (tidIsDoubleSide(id)) ? "double side" : type; strstr << "TID" << side << " Disk " << theDisk << " Ring " << theRing << " " << part << " Module " << theModule[1] << " " << type << " (" << id.rawId() << ")"; return strstr.str(); } if ( subdet == StripSubdetector::TOB ) { unsigned int theLayer = tobLayer(id); std::vector<unsigned int> theRod = tobRodInfo(id); unsigned int theModule = tobModule(id); std::string side; std::string part; side = (theRod[0] == 1 ) ? "-" : "+"; std::string type; type = (tobStereo(id) == 0) ? "r-phi" : "stereo"; type = (tobGlued(id) == 0) ? type : type+" glued"; type = (tobIsDoubleSide(id)) ? "double side" : type; strstr << "TOB" << side << " Layer " << theLayer << " Rod " << theRod[1] << " Module " << theModule << " " << type << " (" << id.rawId() << ")"; return strstr.str(); } if ( subdet == StripSubdetector::TEC ) { unsigned int theWheel = tecWheel(id); unsigned int theModule = tecModule(id); std::vector<unsigned int> thePetal = tecPetalInfo(id); unsigned int theRing = tecRing(id); std::string side; std::string petal; side = (tecSide(id) == 1 ) ? "-" : "+"; petal = (thePetal[0] == 1 ) ? "back" : "front"; std::string type; type = (tecStereo(id) == 0) ? "r-phi" : "stereo"; type = (tecGlued(id) == 0) ? type : type+" glued"; type = (tecIsDoubleSide(id)) ? "double side" : type; strstr << "TEC" << side << " Wheel " << theWheel << " Petal " << thePetal[1] << " " << petal << " Ring " << theRing << " Module " << theModule << " " << type << " (" << id.rawId() << ")"; return strstr.str(); } throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::module"; return strstr.str(); }
DetId TrackerTopology::pxbDetId | ( | uint32_t | layer, |
uint32_t | ladder, | ||
uint32_t | module | ||
) | const [inline] |
Definition at line 370 of file TrackerTopology.h.
References TrackerTopology::PixelBarrelValues::ladderMask_, TrackerTopology::PixelBarrelValues::ladderStartBit_, TrackerTopology::PixelBarrelValues::layerMask_, TrackerTopology::PixelBarrelValues::layerStartBit_, TrackerTopology::PixelBarrelValues::moduleMask_, TrackerTopology::PixelBarrelValues::moduleStartBit_, pbVals_, PixelSubdetector::PixelBarrel, and DetId::Tracker.
Referenced by ValidHitPairFilter::getCloseDets().
{ //uply DetId id(DetId::Tracker,PixelSubdetector::PixelBarrel); uint32_t rawid=id.rawId(); rawid |= (layer& pbVals_.layerMask_) << pbVals_.layerStartBit_ | (ladder& pbVals_.ladderMask_) << pbVals_.ladderStartBit_ | (module& pbVals_.moduleMask_) << pbVals_.moduleStartBit_; return DetId(rawid); }
unsigned int TrackerTopology::pxbLadder | ( | const DetId & | id | ) | const [inline] |
Definition at line 127 of file TrackerTopology.h.
References TrackerTopology::PixelBarrelValues::ladderMask_, TrackerTopology::PixelBarrelValues::ladderStartBit_, and pbVals_.
Referenced by SiPixelDigiValid::analyze(), SiPixelErrorEstimation::analyze(), SiPixelLorentzAngle::analyze(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), HitInfo::getInfo(), align::tpb::halfBarrelNumber(), TrackCleaner::isCompatible(), align::tpb::ladderNumber(), AlignmentParameterSelector::outsideDetIdRanges(), print(), and ResidualRefitting::StoreTrackerRecHits().
{ return ((id.rawId()>>pbVals_.ladderStartBit_) & pbVals_.ladderMask_) ; }
unsigned int TrackerTopology::pxbLayer | ( | const DetId & | id | ) | const [inline] |
Definition at line 115 of file TrackerTopology.h.
References TrackerTopology::PixelBarrelValues::layerMask_, TrackerTopology::PixelBarrelValues::layerStartBit_, and pbVals_.
Referenced by SiPixelDigiValid::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelMuonHLT::analyze(), SiPixelErrorEstimation::analyze(), SiPixelLorentzAngle::analyze(), SiPixelDigitizerAlgorithm::digitize(), AlignmentStats::endJob(), SiPixelRecHitsValid::fillBarrel(), TrackerGeometryCompare::fillIdentifiers(), QcdLowPtDQM::fillPixels(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), HitInfo::getInfo(), ValidHitPairFilter::getLayer(), GlobalMuonRefitter::getRidOfSelectStationHits(), align::tpb::halfBarrelNumber(), TrackerRecHit::init(), CheckHitPattern::interpretDetId(), TrackCleaner::isCompatible(), SeedMergerPixelLayer::isContainsDetector(), align::tpb::ladderNumber(), layer(), reco::modules::TrackerTrackHitFilter::Rule::layer(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), align::tpb::layerNumber(), SiPixelDigitizerAlgorithm::make_digis(), TrajectoryManager::makeSinglePSimHit(), AlignmentParameterSelector::outsideDetIdRanges(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), HitPixelLayersTPSelector::pixelHitPattern(), print(), ResidualRefitting::StoreTrackerRecHits(), and TrackerAlignableId::typeAndLayerFromDetId().
{ return int((id.rawId()>>pbVals_.layerStartBit_) & pbVals_.layerMask_); }
unsigned int TrackerTopology::pxbModule | ( | const DetId & | id | ) | const [inline] |
Definition at line 132 of file TrackerTopology.h.
References TrackerTopology::PixelBarrelValues::moduleMask_, TrackerTopology::PixelBarrelValues::moduleStartBit_, and pbVals_.
Referenced by SiPixelDigiValid::analyze(), SiPixelErrorEstimation::analyze(), SiPixelLorentzAngle::analyze(), SiPixelRecHitsValid::fillBarrel(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), HitInfo::getInfo(), TrackCleaner::isCompatible(), module(), align::tpb::moduleNumber(), AlignmentParameterSelector::outsideDetIdRanges(), print(), and ResidualRefitting::StoreTrackerRecHits().
{ return ((id.rawId()>>pbVals_.moduleStartBit_)& pbVals_.moduleMask_); }
unsigned int TrackerTopology::pxfBlade | ( | const DetId & | id | ) | const [inline] |
Definition at line 362 of file TrackerTopology.h.
References TrackerTopology::PixelEndcapValues::bladeMask_, TrackerTopology::PixelEndcapValues::bladeStartBit_, and pfVals_.
Referenced by SiPixelDigiValid::analyze(), SiPixelErrorEstimation::analyze(), SiPixelLorentzAngle::analyze(), align::tpe::bladeNumber(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), HitInfo::getInfo(), align::tpe::halfCylinderNumber(), TrackCleaner::isCompatible(), AlignmentParameterSelector::outsideDetIdRanges(), print(), and ResidualRefitting::StoreTrackerRecHits().
{ return int((id.rawId()>>pfVals_.bladeStartBit_) & pfVals_.bladeMask_); }
DetId TrackerTopology::pxfDetId | ( | uint32_t | side, |
uint32_t | disk, | ||
uint32_t | blade, | ||
uint32_t | panel, | ||
uint32_t | module | ||
) | const [inline] |
Definition at line 382 of file TrackerTopology.h.
References TrackerTopology::PixelEndcapValues::bladeMask_, TrackerTopology::PixelEndcapValues::bladeStartBit_, TrackerTopology::PixelEndcapValues::diskMask_, TrackerTopology::PixelEndcapValues::diskStartBit_, TrackerTopology::PixelEndcapValues::moduleMask_, TrackerTopology::PixelEndcapValues::moduleStartBit_, TrackerTopology::PixelEndcapValues::panelMask_, TrackerTopology::PixelEndcapValues::panelStartBit_, pfVals_, PixelSubdetector::PixelEndcap, TrackerTopology::PixelEndcapValues::sideMask_, TrackerTopology::PixelEndcapValues::sideStartBit_, and DetId::Tracker.
Referenced by ValidHitPairFilter::getCloseDets().
{ DetId id(DetId::Tracker,PixelSubdetector::PixelEndcap); uint32_t rawid=id.rawId(); rawid |= (side& pfVals_.sideMask_) << pfVals_.sideStartBit_ | (disk& pfVals_.diskMask_) << pfVals_.diskStartBit_ | (blade& pfVals_.bladeMask_) << pfVals_.bladeStartBit_ | (panel& pfVals_.panelMask_) << pfVals_.panelStartBit_ | (module& pfVals_.moduleMask_) << pfVals_.moduleStartBit_ ; return DetId(rawid); }
unsigned int TrackerTopology::pxfDisk | ( | const DetId & | id | ) | const [inline] |
Definition at line 359 of file TrackerTopology.h.
References TrackerTopology::PixelEndcapValues::diskMask_, TrackerTopology::PixelEndcapValues::diskStartBit_, and pfVals_.
Referenced by SiPixelDigiValid::analyze(), SiPixelMuonHLT::analyze(), SiPixelErrorEstimation::analyze(), SiPixelLorentzAngle::analyze(), AlignmentStats::endJob(), SiPixelRecHitsValid::fillForward(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), HitInfo::getInfo(), ValidHitPairFilter::getLayer(), GlobalMuonRefitter::getRidOfSelectStationHits(), align::tpe::halfDiskNumber(), TrackerRecHit::init(), CheckHitPattern::interpretDetId(), TrackCleaner::isCompatible(), SeedMergerPixelLayer::isContainsDetector(), layer(), reco::modules::TrackerTrackHitFilter::Rule::layer(), TkAlCaOverlapTagger::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), AlignmentPrescaler::layerFromId(), TrajectoryManager::makeSinglePSimHit(), AlignmentParameterSelector::outsideDetIdRanges(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), HitPixelLayersTPSelector::pixelHitPattern(), print(), ResidualRefitting::StoreTrackerRecHits(), and TrackerAlignableId::typeAndLayerFromDetId().
{ return int((id.rawId()>>pfVals_.diskStartBit_) & pfVals_.diskMask_); }
unsigned int TrackerTopology::pxfModule | ( | const DetId & | id | ) | const [inline] |
Definition at line 135 of file TrackerTopology.h.
References TrackerTopology::PixelEndcapValues::moduleMask_, TrackerTopology::PixelEndcapValues::moduleStartBit_, and pfVals_.
Referenced by SiPixelDigiValid::analyze(), SiPixelErrorEstimation::analyze(), SiPixelLorentzAngle::analyze(), SiPixelRecHitsValid::fillForward(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), HitInfo::getInfo(), TrackCleaner::isCompatible(), module(), align::tpe::moduleNumber(), AlignmentParameterSelector::outsideDetIdRanges(), print(), and ResidualRefitting::StoreTrackerRecHits().
{ return int((id.rawId()>>pfVals_.moduleStartBit_) & pfVals_.moduleMask_); }
unsigned int TrackerTopology::pxfPanel | ( | const DetId & | id | ) | const [inline] |
Definition at line 365 of file TrackerTopology.h.
References TrackerTopology::PixelEndcapValues::panelMask_, TrackerTopology::PixelEndcapValues::panelStartBit_, and pfVals_.
Referenced by SiPixelDigiValid::analyze(), SiPixelErrorEstimation::analyze(), SiPixelLorentzAngle::analyze(), SiPixelRecHitsValid::fillForward(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), HitInfo::getInfo(), TrackCleaner::isCompatible(), AlignmentParameterSelector::outsideDetIdRanges(), align::tpe::panelNumber(), print(), and ResidualRefitting::StoreTrackerRecHits().
{ return int((id.rawId()>>pfVals_.panelStartBit_) & pfVals_.panelMask_); }
unsigned int TrackerTopology::pxfSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 169 of file TrackerTopology.h.
References pfVals_, TrackerTopology::PixelEndcapValues::sideMask_, and TrackerTopology::PixelEndcapValues::sideStartBit_.
Referenced by SiPixelDigiValid::analyze(), SiPixelMuonHLT::analyze(), SiPixelErrorEstimation::analyze(), SiPixelLorentzAngle::analyze(), AlignmentTrackSelector::detailedHitsCheck(), align::tpe::endcapNumber(), TrackerGeometryCompare::fillIdentifiers(), MillePedeMonitor::fillTrack(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), HitInfo::getInfo(), ValidHitPairFilter::getLayer(), TrackCleaner::isCompatible(), SeedMergerPixelLayer::isContainsDetector(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), AlignmentParameterSelector::outsideDetIdRanges(), and ResidualRefitting::StoreTrackerRecHits().
{ return ((id.rawId()>>pfVals_.sideStartBit_)&pfVals_.sideMask_); }
DetId TrackerTopology::tecDetId | ( | uint32_t | side, |
uint32_t | wheel, | ||
uint32_t | petal_fw_bw, | ||
uint32_t | petal, | ||
uint32_t | ring, | ||
uint32_t | module, | ||
uint32_t | ster | ||
) | const [inline] |
Definition at line 397 of file TrackerTopology.h.
References TrackerTopology::TECValues::moduleMask_, TrackerTopology::TECValues::moduleStartBit_, TrackerTopology::TECValues::petal_fw_bwMask_, TrackerTopology::TECValues::petal_fw_bwStartBit_, TrackerTopology::TECValues::petalMask_, TrackerTopology::TECValues::petalStartBit_, TrackerTopology::TECValues::ringMask_, TrackerTopology::TECValues::ringStartBit_, TrackerTopology::TECValues::sideMask_, TrackerTopology::TECValues::sideStartBit_, TrackerTopology::TECValues::sterMask_, TrackerTopology::TECValues::sterStartBit_, StripSubdetector::TEC, tecVals_, DetId::Tracker, TrackerTopology::TECValues::wheelMask_, and TrackerTopology::TECValues::wheelStartBit_.
{ DetId id=SiStripDetId(DetId::Tracker,StripSubdetector::TEC); uint32_t rawid=id.rawId(); rawid |= (side& tecVals_.sideMask_) << tecVals_.sideStartBit_ | (wheel& tecVals_.wheelMask_) << tecVals_.wheelStartBit_ | (petal_fw_bw& tecVals_.petal_fw_bwMask_) << tecVals_.petal_fw_bwStartBit_ | (petal& tecVals_.petalMask_) << tecVals_.petalStartBit_ | (ring& tecVals_.ringMask_) << tecVals_.ringStartBit_ | (module& tecVals_.moduleMask_) << tecVals_.moduleStartBit_ | (ster& tecVals_.sterMask_) << tecVals_.sterStartBit_ ; return DetId(rawid); }
uint32_t TrackerTopology::tecGlued | ( | const DetId & | id | ) | const [inline] |
Definition at line 278 of file TrackerTopology.h.
References TrackerTopology::TECValues::sterMask_, TrackerTopology::TECValues::sterStartBit_, and tecVals_.
Referenced by print().
{ if ( ((id.rawId()>>tecVals_.sterStartBit_) & tecVals_.sterMask_ ) == 1 ) { return ( id.rawId() - 1 ); } else if ( ((id.rawId()>>tecVals_.sterStartBit_) & tecVals_.sterMask_ ) == 2 ) { return ( id.rawId() - 2 ); } else { return 0; } }
bool TrackerTopology::tecIsBackPetal | ( | const DetId & | id | ) | const [inline] |
Definition at line 316 of file TrackerTopology.h.
References tecOrder().
Referenced by SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiStripFolderOrganizer::getFolderName(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), and tecIsFrontPetal().
{ return (tecOrder(id)==1); }
bool TrackerTopology::tecIsDoubleSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 223 of file TrackerTopology.h.
References SiStripDetId::glued(), and tecRing().
Referenced by AlignmentStats::endJob(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), print(), tecIsRPhi(), tecIsStereo(), and TrackerDpgAnalysis::toStringName().
{ return SiStripDetId(id).glued()==0 && (tecRing(id)==1 || tecRing(id)==2 || tecRing(id)==5);}
bool TrackerTopology::tecIsFrontPetal | ( | const DetId & | id | ) | const [inline] |
Definition at line 320 of file TrackerTopology.h.
References tecIsBackPetal().
Referenced by SiStripMonitorMuonHLT::GeometryFromTrackGeom(), and TrackerDpgAnalysis::toStringName().
{return !tecIsBackPetal(id);}
bool TrackerTopology::tecIsRPhi | ( | const DetId & | id | ) | const [inline] |
Definition at line 303 of file TrackerTopology.h.
References SiStripDetId::stereo(), and tecIsDoubleSide().
Referenced by TrackerDpgAnalysis::toStringName().
{ return SiStripDetId(id).stereo()==0 && !tecIsDoubleSide(id);}
bool TrackerTopology::tecIsStereo | ( | const DetId & | id | ) | const [inline] |
Definition at line 241 of file TrackerTopology.h.
References tecIsDoubleSide(), and tecStereo().
Referenced by AlignmentStats::endJob(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiStripFolderOrganizer::getFolderName(), HLTTrackerHaloFilter::hltFilter(), and ShallowClustersProducer::moduleVars::moduleVars().
{return tecStereo(id)!=0 && !tecIsDoubleSide(id);}
bool TrackerTopology::tecIsZMinusSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 237 of file TrackerTopology.h.
References tecSide().
Referenced by AlignmentTrackSelector::detailedHitsCheck(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), MillePedeMonitor::fillTrack(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), ShallowClustersProducer::moduleVars::moduleVars(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), and tecIsZPlusSide().
{ return tecSide(id)==1;}
bool TrackerTopology::tecIsZPlusSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 236 of file TrackerTopology.h.
References tecIsZMinusSide().
Referenced by AlignmentTrackSelector::detailedHitsCheck(), MillePedeMonitor::fillTrack(), and TrackerDpgAnalysis::toStringName().
{return !tecIsZMinusSide(id);}
unsigned int TrackerTopology::tecModule | ( | const DetId & | id | ) | const [inline] |
Definition at line 141 of file TrackerTopology.h.
References TrackerTopology::TECValues::moduleMask_, TrackerTopology::TECValues::moduleStartBit_, and tecVals_.
Referenced by SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), module(), align::tec::moduleNumber(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), ResidualRefitting::StoreTrackerRecHits(), and TrackerDpgAnalysis::toStringName().
{ return ((id.rawId()>>tecVals_.moduleStartBit_) & tecVals_.moduleMask_); }
unsigned int TrackerTopology::tecOrder | ( | const DetId & | id | ) | const [inline] |
Definition at line 187 of file TrackerTopology.h.
References TrackerTopology::TECValues::petal_fw_bwMask_, TrackerTopology::TECValues::petal_fw_bwStartBit_, and tecVals_.
Referenced by tecIsBackPetal(), and tecPetalInfo().
{ return ((id.rawId()>>tecVals_.petal_fw_bwStartBit_) & tecVals_.petal_fw_bwMask_); }
std::vector<unsigned int> TrackerTopology::tecPetalInfo | ( | const DetId & | id | ) | const [inline] |
Definition at line 309 of file TrackerTopology.h.
References tecOrder(), and tecPetalNumber().
Referenced by SiStripLAProfileBooker::analyze(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), align::tec::petalNumber(), print(), and align::tec::sideNumber().
{ std::vector<unsigned int> num; num.push_back(tecOrder(id)); num.push_back(tecPetalNumber(id)); return num ; }
unsigned int TrackerTopology::tecPetalNumber | ( | const DetId & | id | ) | const [inline] |
Definition at line 208 of file TrackerTopology.h.
References TrackerTopology::TECValues::petalMask_, TrackerTopology::TECValues::petalStartBit_, and tecVals_.
Referenced by SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiStripFolderOrganizer::getFolderName(), HLTTrackerHaloFilter::hltFilter(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), tecPetalInfo(), and TrackerDpgAnalysis::toStringName().
{ return ((id.rawId()>>tecVals_.petalStartBit_) & tecVals_.petalMask_);}
unsigned int TrackerTopology::tecRing | ( | const DetId & | id | ) | const [inline] |
ring id
Definition at line 199 of file TrackerTopology.h.
References TrackerTopology::TECValues::ringMask_, TrackerTopology::TECValues::ringStartBit_, and tecVals_.
Referenced by SiStripDigiValid::analyze(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiStripFolderOrganizer::getFolderName(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripCalibLorentzAngle::getNewObject(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripHistoId::getSubdetid(), HLTTrackerHaloFilter::hltFilter(), TrackerRecHit::init(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), TrajectoryManager::makeSinglePSimHit(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), PixelMatchNextLayers::PixelMatchNextLayers(), print(), align::tec::ringNumber(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), ResidualRefitting::StoreTrackerRecHits(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), tecIsDoubleSide(), and TrackerDpgAnalysis::toStringName().
{ return ((id.rawId()>>tecVals_.ringStartBit_) & tecVals_.ringMask_) ; }
unsigned int TrackerTopology::tecSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 157 of file TrackerTopology.h.
References TrackerTopology::TECValues::sideMask_, TrackerTopology::TECValues::sideStartBit_, and tecVals_.
Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripGainFromData::algoBeginJob(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), HitEff::analyze(), SiStripBadComponentsDQMServiceReader::detIdToString(), align::tec::endcapNumber(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripPlotGain::getHistos(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), SiStripBaseCondObjDQM::GetSameLayerDetId(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripUtility::getSubDetectorTag(), SiStripFolderOrganizer::getSubDetFolderAndTag(), SiStripHistoId::getSubdetid(), HLTTrackerHaloFilter::hltFilter(), SiStripDCSStatus::initialise(), TkAlCaOverlapTagger::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripTrackerMapCreator::printBadModuleList(), SiStripFolderOrganizer::setLayerFolder(), tecIsZMinusSide(), and LaserDQM::trackerStatistics().
{ return ((id.rawId()>>tecVals_.sideStartBit_)&tecVals_.sideMask_); }
uint32_t TrackerTopology::tecStereo | ( | const DetId & | id | ) | const [inline] |
Definition at line 264 of file TrackerTopology.h.
References TrackerTopology::TECValues::sterMask_, TrackerTopology::TECValues::sterStartBit_, and tecVals_.
Referenced by SiStripElectronAlgo::coarseHitSelection(), SiStripBadComponentsDQMServiceReader::detIdToString(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), print(), and tecIsStereo().
{ if ( ((id.rawId() >>tecVals_.sterStartBit_ ) & tecVals_.sterMask_ ) == 1 ) { return ( (id.rawId()>>tecVals_.sterStartBit_) & tecVals_.sterMask_ ); } else { return 0; } }
unsigned int TrackerTopology::tecWheel | ( | const DetId & | id | ) | const [inline] |
Definition at line 179 of file TrackerTopology.h.
References tecVals_, TrackerTopology::TECValues::wheelMask_, and TrackerTopology::TECValues::wheelStartBit_.
Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), SiStripLAProfileBooker::analyze(), HitEff::checkLayer(), SiStripElectronAlgo::coarseHitSelection(), SiStripBadComponentsDQMServiceReader::detIdToString(), align::tec::diskNumber(), AlignmentStats::endJob(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripPlotGain::getHistos(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripBaseCondObjDQM::GetSameLayerDetId(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripHistoId::getSubdetid(), HLTTrackerHaloFilter::hltFilter(), TrackerRecHit::init(), CheckHitPattern::interpretDetId(), layer(), reco::modules::TrackerTrackHitFilter::Rule::layer(), TkAlCaOverlapTagger::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), AlignmentPrescaler::layerFromId(), TrajectoryManager::makeSinglePSimHit(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), PixelMatchNextLayers::PixelMatchNextLayers(), print(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), TrackerDpgAnalysis::toStringName(), LaserDQM::trackerStatistics(), and TrackerAlignableId::typeAndLayerFromDetId().
{ return ((id.rawId()>>tecVals_.wheelStartBit_) & tecVals_.wheelMask_) ; }
DetId TrackerTopology::tibDetId | ( | uint32_t | layer, |
uint32_t | str_fw_bw, | ||
uint32_t | str_int_ext, | ||
uint32_t | str, | ||
uint32_t | module, | ||
uint32_t | ster | ||
) | const [inline] |
Definition at line 414 of file TrackerTopology.h.
References TrackerTopology::TIBValues::layerMask_, TrackerTopology::TIBValues::layerStartBit_, TrackerTopology::TIBValues::moduleMask_, TrackerTopology::TIBValues::moduleStartBit_, TrackerTopology::TIBValues::sterMask_, TrackerTopology::TIBValues::sterStartBit_, TrackerTopology::TIBValues::str_fw_bwMask_, TrackerTopology::TIBValues::str_fw_bwStartBit_, TrackerTopology::TIBValues::str_int_extMask_, TrackerTopology::TIBValues::str_int_extStartBit_, TrackerTopology::TIBValues::strMask_, TrackerTopology::TIBValues::strStartBit_, StripSubdetector::TIB, tibVals_, and DetId::Tracker.
Referenced by SurveyDataReader::readFile().
{ DetId id=SiStripDetId(DetId::Tracker,StripSubdetector::TIB); uint32_t rawid=id.rawId(); rawid |= (layer& tibVals_.layerMask_) << tibVals_.layerStartBit_ | (str_fw_bw& tibVals_.str_fw_bwMask_) << tibVals_.str_fw_bwStartBit_ | (str_int_ext& tibVals_.str_int_extMask_) << tibVals_.str_int_extStartBit_ | (str& tibVals_.strMask_) << tibVals_.strStartBit_ | (module& tibVals_.moduleMask_) << tibVals_.moduleStartBit_ | (ster& tibVals_.sterMask_) << tibVals_.sterStartBit_ ; return DetId(rawid); }
uint32_t TrackerTopology::tibGlued | ( | const DetId & | id | ) | const [inline] |
Definition at line 270 of file TrackerTopology.h.
References TrackerTopology::TIBValues::sterMask_, TrackerTopology::TIBValues::sterStartBit_, and tibVals_.
Referenced by cms::ClusterMTCCFilter::filter(), SiStripGainCosmicCalculator::getNewObject(), and print().
{ if ( ((id.rawId()>>tibVals_.sterStartBit_) & tibVals_.sterMask_ ) == 1 ) { return ( id.rawId() - 1 ); } else if ( ((id.rawId()>>tibVals_.sterStartBit_) & tibVals_.sterMask_ ) == 2 ) { return ( id.rawId() - 2 ); } else { return 0; } }
bool TrackerTopology::tibIsDoubleSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 224 of file TrackerTopology.h.
References SiStripDetId::glued(), and tibLayer().
Referenced by SiPixelErrorEstimation::analyze(), AlignmentStats::endJob(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), MatchedHitRZCorrectionFromBending::MatchedHitRZCorrectionFromBending(), print(), tibIsRPhi(), tibIsStereo(), and TrackerDpgAnalysis::toStringName().
{ return SiStripDetId(id).glued()==0 && (tibLayer(id)==1 || tibLayer(id)==2);}
bool TrackerTopology::tibIsExternalString | ( | const DetId & | id | ) | const [inline] |
Definition at line 339 of file TrackerTopology.h.
References tibIsInternalString().
Referenced by SiPixelErrorEstimation::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripFolderOrganizer::getFolderName(), SiStripBaseCondObjDQM::getStringNameAndId(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), and TrackerDpgAnalysis::toStringName().
{ return !tibIsInternalString(id); }
bool TrackerTopology::tibIsInternalString | ( | const DetId & | id | ) | const [inline] |
Definition at line 335 of file TrackerTopology.h.
References tibOrder().
Referenced by SiPixelErrorEstimation::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiStripBaseCondObjDQM::getStringNameAndId(), tibIsExternalString(), and MatchedHitRZCorrectionFromBending::tibMatchedHitZFixup().
{ return (tibOrder(id)==1); }
bool TrackerTopology::tibIsRPhi | ( | const DetId & | id | ) | const [inline] |
Definition at line 304 of file TrackerTopology.h.
References SiStripDetId::stereo(), and tibIsDoubleSide().
Referenced by SiPixelErrorEstimation::analyze(), and TrackerDpgAnalysis::toStringName().
{ return SiStripDetId(id).stereo()==0 && !tibIsDoubleSide(id);}
bool TrackerTopology::tibIsStereo | ( | const DetId & | id | ) | const [inline] |
Definition at line 242 of file TrackerTopology.h.
References tibIsDoubleSide(), and tibStereo().
Referenced by SiPixelErrorEstimation::analyze(), AlignmentStats::endJob(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), and ShallowClustersProducer::moduleVars::moduleVars().
{return tibStereo(id)!=0 && !tibIsDoubleSide(id);}
bool TrackerTopology::tibIsZMinusSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 231 of file TrackerTopology.h.
References tibSide().
Referenced by SiPixelErrorEstimation::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiStripFolderOrganizer::getFolderName(), ShallowClustersProducer::moduleVars::moduleVars(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), and tibIsZPlusSide().
{ return tibSide(id)==1;}
bool TrackerTopology::tibIsZPlusSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 230 of file TrackerTopology.h.
References tibIsZMinusSide().
Referenced by SiPixelErrorEstimation::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), and TrackerDpgAnalysis::toStringName().
{return !tibIsZMinusSide(id);}
unsigned int TrackerTopology::tibLayer | ( | const DetId & | id | ) | const [inline] |
Definition at line 121 of file TrackerTopology.h.
References TrackerTopology::TIBValues::layerMask_, TrackerTopology::TIBValues::layerStartBit_, and tibVals_.
Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripCalibLorentzAngle::algoBeginJob(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), SiPixelErrorEstimation::analyze(), SiStripLAProfileBooker::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), HitEff::checkLayer(), SiStripElectronAlgo::coarseHitSelection(), SiStripBadComponentsDQMServiceReader::detIdToString(), AlignmentStats::endJob(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), SiStripLorentzAngleDQM::fillMEsForLayer(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), cms::ClusterMTCCFilter::filter(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripPlotGain::getHistos(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), SiStripCalibLorentzAngle::getNewObject(), SiStripGainCosmicCalculator::getNewObject(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripBaseCondObjDQM::GetSameLayerDetId(), SiStripBaseCondObjDQM::getStringNameAndId(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripHistoId::getSubdetid(), align::tib::halfShellNumber(), TrackerRecHit::init(), CheckHitPattern::interpretDetId(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), layer(), reco::modules::TrackerTrackHitFilter::Rule::layer(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), align::tib::layerNumber(), TrajectoryManager::makeSinglePSimHit(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripElectronAlgo::projectPhiBand(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), ResidualRefitting::StoreTrackerRecHits(), align::tib::stringNumber(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), tibIsDoubleSide(), MatchedHitRZCorrectionFromBending::tibMatchedHitZFixup(), TrackerDpgAnalysis::toStringName(), LaserDQM::trackerStatistics(), and TrackerAlignableId::typeAndLayerFromDetId().
{ return int((id.rawId()>>tibVals_.layerStartBit_) & tibVals_.layerMask_); }
unsigned int TrackerTopology::tibModule | ( | const DetId & | id | ) | const [inline] |
Definition at line 144 of file TrackerTopology.h.
References TrackerTopology::TIBValues::moduleMask_, TrackerTopology::TIBValues::moduleStartBit_, and tibVals_.
Referenced by SiStripDigiValid::analyze(), SiPixelErrorEstimation::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), module(), align::tib::moduleNumber(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), ResidualRefitting::StoreTrackerRecHits(), and TrackerDpgAnalysis::toStringName().
{ return ((id.rawId()>>tibVals_.moduleStartBit_)& tibVals_.moduleMask_); }
unsigned int TrackerTopology::tibOrder | ( | const DetId & | id | ) | const [inline] |
Definition at line 190 of file TrackerTopology.h.
References TrackerTopology::TIBValues::str_int_extMask_, TrackerTopology::TIBValues::str_int_extStartBit_, and tibVals_.
Referenced by SiPixelErrorEstimation::analyze(), tibIsInternalString(), and tibStringInfo().
{ return ((id.rawId()>>tibVals_.str_int_extStartBit_) & tibVals_.str_int_extMask_); }
unsigned int TrackerTopology::tibSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 161 of file TrackerTopology.h.
References TrackerTopology::TIBValues::str_fw_bwMask_, TrackerTopology::TIBValues::str_fw_bwStartBit_, and tibVals_.
Referenced by SiPixelErrorEstimation::analyze(), AlignmentParameterSelector::outsideDetIdRanges(), tibIsZMinusSide(), and tibStringInfo().
{ return ((id.rawId()>>tibVals_.str_fw_bwStartBit_) & tibVals_.str_fw_bwMask_); }
uint32_t TrackerTopology::tibStereo | ( | const DetId & | id | ) | const [inline] |
Definition at line 252 of file TrackerTopology.h.
References TrackerTopology::TIBValues::sterMask_, TrackerTopology::TIBValues::sterStartBit_, and tibVals_.
Referenced by SiStripElectronAlgo::coarseHitSelection(), SiStripBadComponentsDQMServiceReader::detIdToString(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), cms::ClusterMTCCFilter::filter(), SiStripGainCosmicCalculator::getNewObject(), print(), and tibIsStereo().
{ if ( ((id.rawId() >>tibVals_.sterStartBit_ ) & tibVals_.sterMask_ ) == 1 ) { return ( (id.rawId()>>tibVals_.sterStartBit_) & tibVals_.sterMask_ ); } else { return 0; } }
unsigned int TrackerTopology::tibString | ( | const DetId & | id | ) | const [inline] |
Definition at line 323 of file TrackerTopology.h.
References TrackerTopology::TIBValues::strMask_, TrackerTopology::TIBValues::strStartBit_, and tibVals_.
Referenced by SiPixelErrorEstimation::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiStripFolderOrganizer::getFolderName(), SiStripBaseCondObjDQM::getStringNameAndId(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), tibStringInfo(), and TrackerDpgAnalysis::toStringName().
{ return (id.rawId()>>tibVals_.strStartBit_)&tibVals_.strMask_; }
std::vector<unsigned int> TrackerTopology::tibStringInfo | ( | const DetId & | id | ) | const [inline] |
Definition at line 327 of file TrackerTopology.h.
References tibOrder(), tibSide(), and tibString().
Referenced by SiStripDigiValid::analyze(), SiStripLAProfileBooker::analyze(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), align::tib::halfBarrelNumber(), align::tib::halfShellNumber(), print(), align::tib::stringNumber(), and align::tib::surfaceNumber().
DetId TrackerTopology::tidDetId | ( | uint32_t | side, |
uint32_t | wheel, | ||
uint32_t | ring, | ||
uint32_t | module_fw_bw, | ||
uint32_t | module, | ||
uint32_t | ster | ||
) | const [inline] |
Definition at line 431 of file TrackerTopology.h.
References TrackerTopology::TIDValues::module_fw_bwMask_, TrackerTopology::TIDValues::module_fw_bwStartBit_, TrackerTopology::TIDValues::moduleMask_, TrackerTopology::TIDValues::moduleStartBit_, TrackerTopology::TIDValues::ringMask_, TrackerTopology::TIDValues::ringStartBit_, TrackerTopology::TIDValues::sideMask_, TrackerTopology::TIDValues::sideStartBit_, TrackerTopology::TIDValues::sterMask_, TrackerTopology::TIDValues::sterStartBit_, StripSubdetector::TID, tidVals_, DetId::Tracker, TrackerTopology::TIDValues::wheelMask_, and TrackerTopology::TIDValues::wheelStartBit_.
Referenced by SurveyDataReader::readFile().
{ DetId id=SiStripDetId(DetId::Tracker,StripSubdetector::TID); uint32_t rawid=id.rawId(); rawid |= (side& tidVals_.sideMask_) << tidVals_.sideStartBit_ | (wheel& tidVals_.wheelMask_) << tidVals_.wheelStartBit_ | (ring& tidVals_.ringMask_) << tidVals_.ringStartBit_ | (module_fw_bw& tidVals_.module_fw_bwMask_) << tidVals_.module_fw_bwStartBit_ | (module& tidVals_.moduleMask_) << tidVals_.moduleStartBit_ | (ster& tidVals_.sterMask_) << tidVals_.sterStartBit_ ; return DetId(rawid); }
uint32_t TrackerTopology::tidGlued | ( | const DetId & | id | ) | const [inline] |
Definition at line 294 of file TrackerTopology.h.
References TrackerTopology::TIDValues::sterMask_, TrackerTopology::TIDValues::sterStartBit_, and tidVals_.
Referenced by print().
{ if ( ((id.rawId()>>tidVals_.sterStartBit_) & tidVals_.sterMask_ ) == 1 ) { return ( id.rawId() - 1 ); } else if ( ((id.rawId()>>tidVals_.sterStartBit_) & tidVals_.sterMask_ ) == 2 ) { return ( id.rawId() - 2 ); } else { return 0; } }
bool TrackerTopology::tidIsBackRing | ( | const DetId & | id | ) | const [inline] |
Definition at line 351 of file TrackerTopology.h.
References tidOrder().
Referenced by SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), and tidIsFrontRing().
{ return (tidOrder(id)==1); }
bool TrackerTopology::tidIsDoubleSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 225 of file TrackerTopology.h.
References SiStripDetId::glued(), and tidRing().
Referenced by AlignmentStats::endJob(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), print(), tidIsRPhi(), tidIsStereo(), and TrackerDpgAnalysis::toStringName().
{ return SiStripDetId(id).glued()==0 && (tidRing(id)==1 || tidRing(id)==2);}
bool TrackerTopology::tidIsFrontRing | ( | const DetId & | id | ) | const [inline] |
Definition at line 355 of file TrackerTopology.h.
References tidIsBackRing().
Referenced by TrackerDpgAnalysis::toStringName().
{return !tidIsBackRing(id);}
bool TrackerTopology::tidIsRPhi | ( | const DetId & | id | ) | const [inline] |
Definition at line 305 of file TrackerTopology.h.
References SiStripDetId::stereo(), and tidIsDoubleSide().
Referenced by TrackerDpgAnalysis::toStringName().
{ return SiStripDetId(id).stereo()==0 && !tidIsDoubleSide(id);}
bool TrackerTopology::tidIsStereo | ( | const DetId & | id | ) | const [inline] |
Definition at line 243 of file TrackerTopology.h.
References tidIsDoubleSide(), and tidStereo().
Referenced by AlignmentStats::endJob(), SiStripFolderOrganizer::getFolderName(), and ShallowClustersProducer::moduleVars::moduleVars().
{return tidStereo(id)!=0 && !tidIsDoubleSide(id);}
bool TrackerTopology::tidIsZMinusSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 234 of file TrackerTopology.h.
References tidSide().
Referenced by AlignmentTrackSelector::detailedHitsCheck(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), MillePedeMonitor::fillTrack(), ShallowClustersProducer::moduleVars::moduleVars(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), and tidIsZPlusSide().
{ return tidSide(id)==1;}
bool TrackerTopology::tidIsZPlusSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 233 of file TrackerTopology.h.
References tidIsZMinusSide().
Referenced by AlignmentTrackSelector::detailedHitsCheck(), MillePedeMonitor::fillTrack(), and TrackerDpgAnalysis::toStringName().
{return !tidIsZMinusSide(id);}
unsigned int TrackerTopology::tidModule | ( | const DetId & | id | ) | const [inline] |
Definition at line 147 of file TrackerTopology.h.
References TrackerTopology::TIDValues::moduleMask_, TrackerTopology::TIDValues::moduleStartBit_, and tidVals_.
Referenced by SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), module(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), tidModuleInfo(), and TrackerDpgAnalysis::toStringName().
{ return ((id.rawId()>>tidVals_.moduleStartBit_)& tidVals_.moduleMask_); }
std::vector<unsigned int> TrackerTopology::tidModuleInfo | ( | const DetId & | id | ) | const [inline] |
Definition at line 344 of file TrackerTopology.h.
References tidModule(), and tidOrder().
Referenced by SiStripLAProfileBooker::analyze(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), align::tid::moduleNumber(), print(), and align::tid::sideNumber().
unsigned int TrackerTopology::tidOrder | ( | const DetId & | id | ) | const [inline] |
Definition at line 193 of file TrackerTopology.h.
References TrackerTopology::TIDValues::module_fw_bwMask_, TrackerTopology::TIDValues::module_fw_bwStartBit_, and tidVals_.
Referenced by tidIsBackRing(), and tidModuleInfo().
{ return ((id.rawId()>>tidVals_.module_fw_bwStartBit_) & tidVals_.module_fw_bwMask_); }
unsigned int TrackerTopology::tidRing | ( | const DetId & | id | ) | const [inline] |
Definition at line 202 of file TrackerTopology.h.
References TrackerTopology::TIDValues::ringMask_, TrackerTopology::TIDValues::ringStartBit_, and tidVals_.
Referenced by SiStripDigiValid::analyze(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), SiStripFolderOrganizer::getFolderName(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripHistoId::getSubdetid(), TrackerRecHit::init(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), TrajectoryManager::makeSinglePSimHit(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), PixelMatchNextLayers::PixelMatchNextLayers(), print(), align::tid::ringNumber(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), ResidualRefitting::StoreTrackerRecHits(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), tidIsDoubleSide(), and TrackerDpgAnalysis::toStringName().
{ return ((id.rawId()>>tidVals_.ringStartBit_) & tidVals_.ringMask_) ; }
unsigned int TrackerTopology::tidSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 165 of file TrackerTopology.h.
References TrackerTopology::TIDValues::sideMask_, TrackerTopology::TIDValues::sideStartBit_, and tidVals_.
Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), SiStripBadComponentsDQMServiceReader::detIdToString(), align::tid::endcapNumber(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripPlotGain::getHistos(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), SiStripBaseCondObjDQM::GetSameLayerDetId(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripUtility::getSubDetectorTag(), SiStripFolderOrganizer::getSubDetFolderAndTag(), SiStripHistoId::getSubdetid(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripTrackerMapCreator::printBadModuleList(), SiStripFolderOrganizer::setLayerFolder(), ResidualRefitting::StoreTrackerRecHits(), and tidIsZMinusSide().
{ return ((id.rawId()>>tidVals_.sideStartBit_)&tidVals_.sideMask_); }
uint32_t TrackerTopology::tidStereo | ( | const DetId & | id | ) | const [inline] |
Definition at line 258 of file TrackerTopology.h.
References TrackerTopology::TIDValues::sterMask_, TrackerTopology::TIDValues::sterStartBit_, and tidVals_.
Referenced by SiStripElectronAlgo::coarseHitSelection(), SiStripBadComponentsDQMServiceReader::detIdToString(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), print(), and tidIsStereo().
{ if ( ((id.rawId() >>tidVals_.sterStartBit_ ) & tidVals_.sterMask_ ) == 1 ) { return ( (id.rawId()>>tidVals_.sterStartBit_) & tidVals_.sterMask_ ); } else { return 0; } }
unsigned int TrackerTopology::tidWheel | ( | const DetId & | id | ) | const [inline] |
Definition at line 182 of file TrackerTopology.h.
References tidVals_, TrackerTopology::TIDValues::wheelMask_, and TrackerTopology::TIDValues::wheelStartBit_.
Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), SiStripLAProfileBooker::analyze(), HitEff::checkLayer(), SiStripElectronAlgo::coarseHitSelection(), SiStripBadComponentsDQMServiceReader::detIdToString(), align::tid::diskNumber(), AlignmentStats::endJob(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripPlotGain::getHistos(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripBaseCondObjDQM::GetSameLayerDetId(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripHistoId::getSubdetid(), TrackerRecHit::init(), CheckHitPattern::interpretDetId(), layer(), reco::modules::TrackerTrackHitFilter::Rule::layer(), TkAlCaOverlapTagger::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), AlignmentPrescaler::layerFromId(), TrajectoryManager::makeSinglePSimHit(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), ResidualRefitting::StoreTrackerRecHits(), TrackerDpgAnalysis::toStringName(), and TrackerAlignableId::typeAndLayerFromDetId().
{ return ((id.rawId()>>tidVals_.wheelStartBit_) & tidVals_.wheelMask_) ; }
DetId TrackerTopology::tobDetId | ( | uint32_t | layer, |
uint32_t | rod_fw_bw, | ||
uint32_t | rod, | ||
uint32_t | module, | ||
uint32_t | ster | ||
) | const [inline] |
Definition at line 448 of file TrackerTopology.h.
References TrackerTopology::TOBValues::layerMask_, TrackerTopology::TOBValues::layerStartBit_, TrackerTopology::TOBValues::moduleMask_, TrackerTopology::TOBValues::moduleStartBit_, TrackerTopology::TOBValues::rod_fw_bwMask_, TrackerTopology::TOBValues::rod_fw_bwStartBit_, TrackerTopology::TOBValues::rodMask_, TrackerTopology::TOBValues::rodStartBit_, TrackerTopology::TOBValues::sterMask_, TrackerTopology::TOBValues::sterStartBit_, StripSubdetector::TOB, tobVals_, and DetId::Tracker.
{ DetId id=SiStripDetId(DetId::Tracker,StripSubdetector::TOB); uint32_t rawid=id.rawId(); rawid |= (layer& tobVals_.layerMask_) << tobVals_.layerStartBit_ | (rod_fw_bw& tobVals_.rod_fw_bwMask_) << tobVals_.rod_fw_bwStartBit_ | (rod& tobVals_.rodMask_) << tobVals_.rodStartBit_ | (module& tobVals_.moduleMask_) << tobVals_.moduleStartBit_ | (ster& tobVals_.sterMask_) << tobVals_.sterStartBit_ ; return DetId(rawid); }
uint32_t TrackerTopology::tobGlued | ( | const DetId & | id | ) | const [inline] |
Definition at line 286 of file TrackerTopology.h.
References TrackerTopology::TOBValues::sterMask_, TrackerTopology::TOBValues::sterStartBit_, and tobVals_.
Referenced by print().
{ if ( ((id.rawId()>>tobVals_.sterStartBit_) & tobVals_.sterMask_ ) == 1 ) { return ( id.rawId() - 1 ); } else if ( ((id.rawId()>>tobVals_.sterStartBit_) & tobVals_.sterMask_ ) == 2 ) { return ( id.rawId() - 2 ); } else { return 0; } }
bool TrackerTopology::tobIsDoubleSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 222 of file TrackerTopology.h.
References SiStripDetId::glued(), and tobLayer().
Referenced by SiPixelErrorEstimation::analyze(), AlignmentStats::endJob(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), print(), tobIsRPhi(), tobIsStereo(), and TrackerDpgAnalysis::toStringName().
{ return SiStripDetId(id).glued()==0 && (tobLayer(id)==1 || tobLayer(id)==2);}
bool TrackerTopology::tobIsRPhi | ( | const DetId & | id | ) | const [inline] |
Definition at line 302 of file TrackerTopology.h.
References SiStripDetId::stereo(), and tobIsDoubleSide().
Referenced by SiPixelErrorEstimation::analyze(), and TrackerDpgAnalysis::toStringName().
{ return SiStripDetId(id).stereo()==0 && !tobIsDoubleSide(id);}
bool TrackerTopology::tobIsStereo | ( | const DetId & | id | ) | const [inline] |
Definition at line 240 of file TrackerTopology.h.
References tobIsDoubleSide(), and tobStereo().
Referenced by SiPixelErrorEstimation::analyze(), AlignmentStats::endJob(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), and ShallowClustersProducer::moduleVars::moduleVars().
{return tobStereo(id)!=0 && !tobIsDoubleSide(id);}
bool TrackerTopology::tobIsZMinusSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 228 of file TrackerTopology.h.
References tobSide().
Referenced by SiPixelErrorEstimation::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiStripFolderOrganizer::getFolderName(), ShallowClustersProducer::moduleVars::moduleVars(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), and tobIsZPlusSide().
{ return tobSide(id)==1;}
bool TrackerTopology::tobIsZPlusSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 227 of file TrackerTopology.h.
References tobIsZMinusSide().
Referenced by SiPixelErrorEstimation::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), and TrackerDpgAnalysis::toStringName().
{return !tobIsZMinusSide(id);}
unsigned int TrackerTopology::tobLayer | ( | const DetId & | id | ) | const [inline] |
Definition at line 118 of file TrackerTopology.h.
References TrackerTopology::TOBValues::layerMask_, TrackerTopology::TOBValues::layerStartBit_, and tobVals_.
Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripCalibLorentzAngle::algoBeginJob(), SiStripQualityStatistics::analyze(), SiStripDigiValid::analyze(), SiPixelErrorEstimation::analyze(), SiStripLAProfileBooker::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), HitEff::checkLayer(), SiStripElectronAlgo::coarseHitSelection(), SiStripBadComponentsDQMServiceReader::detIdToString(), AlignmentStats::endJob(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), SiStripLorentzAngleDQM::fillMEsForLayer(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), cms::ClusterMTCCFilter::filter(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripPlotGain::getHistos(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), SiStripCalibLorentzAngle::getNewObject(), SiStripGainCosmicCalculator::getNewObject(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripBaseCondObjDQM::GetSameLayerDetId(), SiStripBaseCondObjDQM::getStringNameAndId(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripHistoId::getSubdetid(), TrackerRecHit::init(), CheckHitPattern::interpretDetId(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), layer(), reco::modules::TrackerTrackHitFilter::Rule::layer(), TkAlCaOverlapTagger::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), AlignmentPrescaler::layerFromId(), align::tob::layerNumber(), TrajectoryManager::makeSinglePSimHit(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripElectronAlgo::projectPhiBand(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), ResidualRefitting::StoreTrackerRecHits(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), tobIsDoubleSide(), TrackerDpgAnalysis::toStringName(), LaserDQM::trackerStatistics(), and TrackerAlignableId::typeAndLayerFromDetId().
{ return int((id.rawId()>>tobVals_.layerStartBit_) & tobVals_.layerMask_); }
unsigned int TrackerTopology::tobModule | ( | const DetId & | id | ) | const [inline] |
Definition at line 138 of file TrackerTopology.h.
References TrackerTopology::TOBValues::moduleMask_, TrackerTopology::TOBValues::moduleStartBit_, and tobVals_.
Referenced by SiStripDigiValid::analyze(), SiPixelErrorEstimation::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), module(), align::tob::moduleNumber(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), ResidualRefitting::StoreTrackerRecHits(), and TrackerDpgAnalysis::toStringName().
{ return ((id.rawId()>>tobVals_.moduleStartBit_)& tobVals_.moduleMask_); }
unsigned int TrackerTopology::tobRod | ( | const DetId & | id | ) | const [inline] |
Definition at line 174 of file TrackerTopology.h.
References TrackerTopology::TOBValues::rodMask_, TrackerTopology::TOBValues::rodStartBit_, and tobVals_.
Referenced by SiPixelErrorEstimation::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiStripFolderOrganizer::getFolderName(), SiStripBaseCondObjDQM::getStringNameAndId(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), tobRodInfo(), and TrackerDpgAnalysis::toStringName().
{ return ((id.rawId()>>tobVals_.rodStartBit_) & tobVals_.rodMask_); }
std::vector<unsigned int> TrackerTopology::tobRodInfo | ( | const DetId & | id | ) | const [inline] |
Definition at line 215 of file TrackerTopology.h.
References tobRod(), and tobSide().
Referenced by SiStripDigiValid::analyze(), SiStripLAProfileBooker::analyze(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), align::tob::halfBarrelNumber(), print(), and align::tob::rodNumber().
unsigned int TrackerTopology::tobSide | ( | const DetId & | id | ) | const [inline] |
Definition at line 153 of file TrackerTopology.h.
References TrackerTopology::TOBValues::rod_fw_bwMask_, TrackerTopology::TOBValues::rod_fw_bwStartBit_, and tobVals_.
Referenced by SiPixelErrorEstimation::analyze(), AlignmentParameterSelector::outsideDetIdRanges(), tobIsZMinusSide(), and tobRodInfo().
{ return ((id.rawId()>>tobVals_.rod_fw_bwStartBit_) & tobVals_.rod_fw_bwMask_); }
uint32_t TrackerTopology::tobStereo | ( | const DetId & | id | ) | const [inline] |
Definition at line 246 of file TrackerTopology.h.
References TrackerTopology::TOBValues::sterMask_, TrackerTopology::TOBValues::sterStartBit_, and tobVals_.
Referenced by SiStripElectronAlgo::coarseHitSelection(), SiStripBadComponentsDQMServiceReader::detIdToString(), TrackerOfflineValidation::fillTree(), TrackerOfflineValidationSummary::fillTree(), TrajectoryManager::makeSinglePSimHit(), print(), tobIsStereo(), and LaserDQM::trackerStatistics().
{ if ( ((id.rawId() >>tobVals_.sterStartBit_ ) & tobVals_.sterMask_ ) == 1 ) { return ( (id.rawId()>>tobVals_.sterStartBit_) & tobVals_.sterMask_ ); } else { return 0; } }
PixelBarrelValues TrackerTopology::pbVals_ [private] |
Definition at line 467 of file TrackerTopology.h.
Referenced by pxbDetId(), pxbLadder(), pxbLayer(), pxbModule(), and TrackerTopology().
PixelEndcapValues TrackerTopology::pfVals_ [private] |
Definition at line 468 of file TrackerTopology.h.
Referenced by pxfBlade(), pxfDetId(), pxfDisk(), pxfModule(), pxfPanel(), pxfSide(), and TrackerTopology().
TECValues TrackerTopology::tecVals_ [private] |
Definition at line 473 of file TrackerTopology.h.
Referenced by tecDetId(), tecGlued(), tecModule(), tecOrder(), tecPetalNumber(), tecRing(), tecSide(), tecStereo(), tecWheel(), and TrackerTopology().
TIBValues TrackerTopology::tibVals_ [private] |
Definition at line 471 of file TrackerTopology.h.
Referenced by tibDetId(), tibGlued(), tibLayer(), tibModule(), tibOrder(), tibSide(), tibStereo(), tibString(), and TrackerTopology().
TIDValues TrackerTopology::tidVals_ [private] |
Definition at line 472 of file TrackerTopology.h.
Referenced by tidDetId(), tidGlued(), tidModule(), tidOrder(), tidRing(), tidSide(), tidStereo(), tidWheel(), and TrackerTopology().
TOBValues TrackerTopology::tobVals_ [private] |
Definition at line 470 of file TrackerTopology.h.
Referenced by tobDetId(), tobGlued(), tobLayer(), tobModule(), tobRod(), tobSide(), tobStereo(), and TrackerTopology().