#include <TrackerAlignableId.h>
Public Member Functions | |
TrackerAlignableId () | |
std::pair< int, int > | typeAndLayerFromDetId (const DetId &detId, const TrackerTopology *tTopo) const |
Helper class to provide unique numerical ID's for Alignables. The unique ID is formed from:
(last update by
)
Definition at line 22 of file TrackerAlignableId.h.
|
inline |
std::pair< int, int > TrackerAlignableId::typeAndLayerFromDetId | ( | const DetId & | detId, |
const TrackerTopology * | tTopo | ||
) | 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 17 of file TrackerAlignableId.cc.
References PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), DetId::rawId(), DetId::subdetId(), StripSubdetector::TEC, TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TrackerTopology::tidWheel(), StripSubdetector::TOB, and TrackerTopology::tobLayer().
Referenced by TrackerOfflineValidation::bookHists(), AlignmentParameterSelector::layerDeselected(), OverlapValidation::layerFromId(), TrackerAlignableId(), and AlignmentParameterStore::typeAndLayer().