#include <TECDetId.h>
Public Member Functions | |
bool | isBackPetal () const |
bool | isDoubleSide () const |
bool | isFrontPetal () const |
bool | isRPhi () |
bool | isStereo () |
bool | isZMinusSide () const |
bool | isZPlusSide () const |
unsigned int | module () const |
det id More... | |
unsigned int | moduleNumber () const |
unsigned int | order () const |
std::vector< unsigned int > | petal () const |
petal id More... | |
unsigned int | petalNumber () const |
unsigned int | ring () const |
ring id More... | |
unsigned int | ringNumber () const |
unsigned int | side () const |
positive or negative id More... | |
TECDetId () | |
TECDetId (uint32_t rawid) | |
TECDetId (const DetId &id) | |
TECDetId (uint32_t side, uint32_t wheel, uint32_t petal_fw_bw, uint32_t petal, uint32_t ring, uint32_t module, uint32_t ster) | |
unsigned int | wheel () const |
wheel id More... | |
unsigned int | wheelNumber () const |
Public Member Functions inherited from SiStripDetId | |
uint32_t | glued () const |
ModuleGeometry | moduleGeometry () const |
uint32_t | partnerDetId () const |
uint16_t | reserved () const |
SiStripDetId () | |
SiStripDetId (const uint32_t &raw_id) | |
SiStripDetId (const DetId &det_id) | |
SiStripDetId (Detector det, int subdet) | |
SiStripDetId (const uint32_t &raw_id, const uint16_t &reserved) | |
SiStripDetId (const DetId &det_id, const uint16_t &reserved) | |
uint32_t | stereo () const |
double | stripLength () const |
SubDetector | subDetector () const |
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 | moduleMask_ = 0x7 |
static const unsigned int | moduleStartBit_ = 2 |
static const unsigned int | petal_fw_bwMask_ = 0x3 |
static const unsigned int | petal_fw_bwStartBit_ = 12 |
static const unsigned int | petalMask_ = 0xF |
static const unsigned int | petalStartBit_ = 8 |
static const unsigned int | ringMask_ = 0x7 |
static const unsigned int | ringStartBit_ = 5 |
static const unsigned int | sideMask_ = 0x3 |
two bits would be enough, but we could use the number "0" as a wildcard More... | |
static const unsigned int | sideStartBit_ = 18 |
two bits would be enough, but we could use the number "0" as a wildcard More... | |
static const unsigned int | sterMask_ = 0x3 |
static const unsigned int | sterStartBit_ = 0 |
static const unsigned int | wheelMask_ = 0xF |
static const unsigned int | wheelStartBit_ = 14 |
Additional Inherited Members | |
Public Types inherited from SiStripDetId | |
enum | ModuleGeometry { UNKNOWNGEOMETRY, IB1, IB2, OB1, OB2, W1A, W2A, W3A, W1B, W2B, W3B, W4, W5, W6, W7 } |
enum | SubDetector { UNKNOWN =0, TIB =3, TID =4, TOB =5, TEC =6 } |
Public Types inherited from DetId | |
enum | Detector { Tracker =1, Muon =2, Ecal =3, Hcal =4, Calo =5, Forward =6, VeryForward =7 } |
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 TECDetId.h.
|
inline |
Constructor of a null id
Definition at line 142 of file TECDetId.h.
|
inline |
|
inline |
|
inline |
Definition at line 25 of file TECDetId.h.
References DetId::id_, moduleMask_, moduleStartBit_, petal_fw_bwMask_, petal_fw_bwStartBit_, petalMask_, petalStartBit_, ringMask_, ringStartBit_, sideMask_, sideStartBit_, sterMask_, sterStartBit_, wheelMask_, and wheelStartBit_.
|
inline |
Returns true if the petal is mounted on the wheel back (not facing impact point)
Definition at line 106 of file TECDetId.h.
References order().
Referenced by SiStripFolderOrganizer::getFolderName(), TkLayerMap::getXY_TEC(), and isFrontPetal().
|
inline |
Returns true if the module is a double side = rphi + stereo
Definition at line 152 of file TECDetId.h.
References SiStripDetId::glued(), and ring().
Referenced by isRPhi(), isStereo(), and module().
|
inline |
Returns true if the petal is mounted on the wheel front (facing impact point)
Definition at line 110 of file TECDetId.h.
References isBackPetal().
|
inline |
Returns true if the module is rphi
Definition at line 114 of file TECDetId.h.
References isDoubleSide(), and SiStripDetId::stereo().
|
inline |
Returns true if the module is stereo
Definition at line 118 of file TECDetId.h.
References isDoubleSide(), and SiStripDetId::stereo().
Referenced by SiStripFolderOrganizer::getFolderName(), and TkLayerMap::getXY_TEC().
|
inline |
Returns true if the module is in TEC- (z<0 side)
Definition at line 86 of file TECDetId.h.
References side().
Referenced by CosmicRateAnalyzer::analyze(), TkLayerMap::getXY_TEC(), and isZPlusSide().
|
inline |
Returns true if the module is in TEC+ (z>0 side)
Definition at line 82 of file TECDetId.h.
References isZMinusSide().
|
inline |
det id
Definition at line 75 of file TECDetId.h.
References DetId::id_, isDoubleSide(), moduleMask_, and moduleStartBit_.
Referenced by moduleNumber(), and trackerHierarchy().
|
inline |
Returns the module number
Definition at line 102 of file TECDetId.h.
References module().
Referenced by TkLayerMap::getXY_TEC().
|
inline |
Definition at line 67 of file TECDetId.h.
References DetId::id_, petal_fw_bwMask_, and petal_fw_bwStartBit_.
Referenced by isBackPetal(), and petal().
|
inline |
petal id
vector[0] = 1 -> back petal vector[0] = 2 -> front petal vector[1] -> petal
Definition at line 61 of file TECDetId.h.
References pileupDistInMC::num, order(), and petalNumber().
Referenced by SiStripSubStructure::getTECDetectors(), and trackerHierarchy().
|
inline |
Returns the petal number
Definition at line 94 of file TECDetId.h.
References DetId::id_, petalMask_, and petalStartBit_.
Referenced by SiStripFolderOrganizer::getFolderName(), TkLayerMap::getXY_TEC(), and petal().
|
inline |
ring id
Definition at line 71 of file TECDetId.h.
References DetId::id_, ringMask_, and ringStartBit_.
Referenced by SiStripSubStructure::getTECDetectors(), TkLayerMap::getXY_TEC(), geometryXMLparser.CSCAlignable::index(), isDoubleSide(), ringNumber(), and trackerHierarchy().
|
inline |
Returns the ring number
Definition at line 98 of file TECDetId.h.
References ring().
Referenced by SiStripFolderOrganizer::getFolderName().
|
inline |
positive or negative id
side() = 1 The DetId identify a module in the negative part (TEC-) side() = 2 The DetId identify a module in the positive part (TEC+)
Definition at line 47 of file TECDetId.h.
References DetId::id_, createfilelist::int, sideMask_, and sideStartBit_.
Referenced by SiStripFolderOrganizer::getFolderName(), SiStripSubStructure::getTECDetectors(), isZMinusSide(), TkLayerMap::layerSearch(), trackerHierarchy(), and HDQMInspectorConfigSiStrip::translateDetId().
|
inline |
wheel id
Definition at line 52 of file TECDetId.h.
References DetId::id_, wheelMask_, and wheelStartBit_.
Referenced by SiStripDetSummary::add(), SimpleDAFHitCollector::Debug(), SiStripFolderOrganizer::getFolderName(), SiStripSubStructure::getTECDetectors(), geometryXMLparser.DTAlignable::index(), fireworks::info(), PFCheckHitPattern::interpretDetId(), TkLayerMap::layerSearch(), trackerHierarchy(), and wheelNumber().
|
inline |
|
staticprivate |
Definition at line 136 of file TECDetId.h.
Referenced by module(), and TECDetId().
|
staticprivate |
Definition at line 128 of file TECDetId.h.
Referenced by module(), and TECDetId().
|
staticprivate |
Definition at line 133 of file TECDetId.h.
Referenced by order(), and TECDetId().
|
staticprivate |
Definition at line 125 of file TECDetId.h.
Referenced by order(), and TECDetId().
|
staticprivate |
Definition at line 134 of file TECDetId.h.
Referenced by petalNumber(), and TECDetId().
|
staticprivate |
Definition at line 126 of file TECDetId.h.
Referenced by petalNumber(), and TECDetId().
|
staticprivate |
Definition at line 135 of file TECDetId.h.
Referenced by ring(), and TECDetId().
|
staticprivate |
Definition at line 127 of file TECDetId.h.
Referenced by ring(), and TECDetId().
|
staticprivate |
two bits would be enough, but we could use the number "0" as a wildcard
Definition at line 131 of file TECDetId.h.
Referenced by side(), and TECDetId().
|
staticprivate |
two bits would be enough, but we could use the number "0" as a wildcard
Definition at line 123 of file TECDetId.h.
Referenced by side(), and TECDetId().
|
staticprivate |
Definition at line 137 of file TECDetId.h.
Referenced by TECDetId().
|
staticprivate |
Definition at line 129 of file TECDetId.h.
Referenced by TECDetId().
|
staticprivate |
Definition at line 132 of file TECDetId.h.
Referenced by TECDetId(), and wheel().
|
staticprivate |
Definition at line 124 of file TECDetId.h.
Referenced by TECDetId(), and wheel().