#include <TrackerAlignableId.h>
Public Member Functions | |
TrackerAlignableId () | |
std::pair< int, int > | typeAndLayerFromDetId (const DetId &detId) const |
Helper class to provide unique numerical ID's for Alignables. The unique ID is formed from:
(last update by
)
Definition at line 21 of file TrackerAlignableId.h.
|
inline |
Definition at line 26 of file TrackerAlignableId.h.
std::pair< int, int > TrackerAlignableId::typeAndLayerFromDetId | ( | const DetId & | detId | ) | const |
Return type and layer of DetId Keep this for now. Concept of a "layer" in Alignment is obsolete. Will be replaced by a more generic function.
Definition at line 21 of file TrackerAlignableId.cc.
References PXFDetId::disk(), PXBDetId::layer(), TOBDetId::layer(), TIBDetId::layer(), align::tib::layerNumber(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::rawId(), DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, TIDDetId::wheel(), and TECDetId::wheel().
Referenced by TrackerOfflineValidation::bookHists(), KalmanAlignmentUserVariables::KalmanAlignmentUserVariables(), AlignmentParameterSelector::layerDeselected(), TrackHitFilter::produce(), and AlignmentParameterStore::typeAndLayer().