#include <MTDTopology.h>
Classes | |
struct | BitmaskAndSubdet |
struct | BTLValues |
struct | ETLValues |
class | SameLayerComparator |
Public Types | |
enum | DetIdFields { BTLModule, BTLTray, BTLLayer, BTLSide, ETLModule, ETLRing, ETLLayer, ETLSide, DETID_FIELDS_MAX } |
Public Member Functions | |
DetId | btlDetId (uint32_t side, uint32_t layer, uint32_t tray, uint32_t module) const |
std::pair< DetId, SameLayerComparator > | btlDetIdLayerComparator (uint32_t side, uint32_t layer) const |
unsigned int | btlLayer (const DetId &id) const |
unsigned int | btlModule (const DetId &id) const |
unsigned int | btlSide (const DetId &id) const |
unsigned int | btlTray (const DetId &id) const |
DetId | etlDetId (uint32_t side, uint32_t layer, uint32_t ring, uint32_t module) const |
std::pair< DetId, SameLayerComparator > | etlDetIdDiskComparator (uint32_t side, uint32_t layer) const |
unsigned int | etlDisc (const DetId &id) const |
unsigned int | etlLayer (const DetId &id) const |
unsigned int | etlModule (const DetId &id) const |
unsigned int | etlRing (const DetId &id) const |
unsigned int | etlSide (const DetId &id) const |
unsigned int | getField (const DetId &id, DetIdFields idx) const |
int | getMTDLayerNumber (const DetId &id) const |
bool | hasField (const DetId &id, DetIdFields idx) const |
unsigned int | layer (const DetId &id) const |
unsigned int | module (const DetId &id) const |
MTDTopology (const BTLValues &btl, const ETLValues &etl) | |
std::string | print (DetId detid) const |
unsigned int | ring (const DetId &id) const |
unsigned int | side (const DetId &id) const |
unsigned int | tray (const DetId &id) const |
Private Attributes | |
const BitmaskAndSubdet | bits_per_field [DETID_FIELDS_MAX] |
const BTLValues | btlVals_ |
const ETLValues | etlVals_ |
Definition at line 17 of file MTDTopology.h.
Enumerator | |
---|---|
BTLModule | |
BTLTray | |
BTLLayer | |
BTLSide | |
ETLModule | |
ETLRing | |
ETLLayer | |
ETLSide | |
DETID_FIELDS_MAX |
Definition at line 43 of file MTDTopology.h.
Definition at line 11 of file MTDTopology.cc.
References MTDDetId::BTL, BTLLayer, BTLModule, BTLSide, BTLTray, btlVals_, MTDDetId::ETL, ETLLayer, ETLModule, ETLRing, ETLSide, etlVals_, MTDTopology::BTLValues::layerMask_, MTDTopology::ETLValues::layerMask_, MTDTopology::BTLValues::layerStartBit_, MTDTopology::ETLValues::layerStartBit_, MTDTopology::BTLValues::moduleMask_, MTDTopology::ETLValues::moduleMask_, MTDTopology::BTLValues::moduleStartBit_, MTDTopology::ETLValues::moduleStartBit_, MTDTopology::ETLValues::ringMask_, MTDTopology::ETLValues::ringStartBit_, MTDTopology::BTLValues::sideMask_, MTDTopology::ETLValues::sideMask_, MTDTopology::BTLValues::sideStartBit_, MTDTopology::ETLValues::sideStartBit_, MTDTopology::BTLValues::trayMask_, and MTDTopology::BTLValues::trayStartBit_.
|
inline |
Definition at line 121 of file MTDTopology.h.
References MTDDetId::BTL, btlVals_, FastTime, DetId::Forward, triggerObjects_cff::id, MTDDetId::kMTDsubdOffset, MTDTopology::BTLValues::layerMask_, MTDTopology::BTLValues::layerStartBit_, MTDTopology::BTLValues::moduleMask_, MTDTopology::BTLValues::moduleStartBit_, MTDTopology::BTLValues::sideMask_, MTDTopology::BTLValues::sideStartBit_, MTDTopology::BTLValues::trayMask_, and MTDTopology::BTLValues::trayStartBit_.
Referenced by btlDetIdLayerComparator().
|
inline |
Definition at line 150 of file MTDTopology.h.
References btlDetId().
|
inline |
Definition at line 99 of file MTDTopology.h.
References btlVals_, createfilelist::int, MTDTopology::BTLValues::layerMask_, and MTDTopology::BTLValues::layerStartBit_.
Referenced by getMTDLayerNumber(), layer(), and print().
|
inline |
Definition at line 81 of file MTDTopology.h.
References btlVals_, MTDTopology::BTLValues::moduleMask_, and MTDTopology::BTLValues::moduleStartBit_.
Referenced by module(), and print().
|
inline |
Definition at line 107 of file MTDTopology.h.
References btlVals_, MTDTopology::BTLValues::sideMask_, and MTDTopology::BTLValues::sideStartBit_.
Referenced by print(), and side().
|
inline |
Definition at line 89 of file MTDTopology.h.
References btlVals_, MTDTopology::BTLValues::trayMask_, and MTDTopology::BTLValues::trayStartBit_.
Referenced by print(), and tray().
|
inline |
Definition at line 136 of file MTDTopology.h.
References MTDDetId::ETL, etlVals_, FastTime, DetId::Forward, triggerObjects_cff::id, MTDDetId::kMTDsubdOffset, MTDTopology::ETLValues::layerMask_, MTDTopology::ETLValues::layerStartBit_, MTDTopology::ETLValues::moduleMask_, MTDTopology::ETLValues::moduleStartBit_, MTDTopology::ETLValues::ringMask_, MTDTopology::ETLValues::ringStartBit_, MTDTopology::ETLValues::sideMask_, and MTDTopology::ETLValues::sideStartBit_.
Referenced by etlDetIdDiskComparator().
|
inline |
Definition at line 154 of file MTDTopology.h.
References etlDetId(), getMTDLayerNumber(), print(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 116 of file MTDTopology.h.
References etlVals_, createfilelist::int, MTDTopology::ETLValues::ringMask_, and MTDTopology::ETLValues::ringStartBit_.
|
inline |
Definition at line 102 of file MTDTopology.h.
References etlVals_, createfilelist::int, MTDTopology::ETLValues::layerMask_, and MTDTopology::ETLValues::layerStartBit_.
Referenced by getMTDLayerNumber(), layer(), and print().
|
inline |
Definition at line 84 of file MTDTopology.h.
References btlVals_, createfilelist::int, MTDTopology::BTLValues::moduleMask_, and MTDTopology::BTLValues::moduleStartBit_.
Referenced by module(), print(), and ring().
|
inline |
Definition at line 94 of file MTDTopology.h.
References etlVals_, MTDTopology::ETLValues::ringMask_, and MTDTopology::ETLValues::ringStartBit_.
Referenced by print().
|
inline |
Definition at line 111 of file MTDTopology.h.
References etlVals_, MTDTopology::ETLValues::sideMask_, and MTDTopology::ETLValues::sideStartBit_.
Referenced by print(), and side().
|
inline |
Definition at line 164 of file MTDTopology.h.
References bits_per_field, and RecoTauDiscriminantConfiguration::mask.
int MTDTopology::getMTDLayerNumber | ( | const DetId & | id | ) | const |
Definition at line 134 of file MTDTopology.cc.
References MTDDetId::BTL, btlLayer(), MTDDetId::ETL, etlLayer(), DetId::Forward, layer(), and MTDDetId::mtdSubDetector().
Referenced by etlDetIdDiskComparator().
|
inline |
Definition at line 169 of file MTDTopology.h.
References bits_per_field, training_settings::idx, and MTDTopology::BitmaskAndSubdet::subdet.
unsigned int MTDTopology::layer | ( | const DetId & | id | ) | const |
Definition at line 41 of file MTDTopology.cc.
References MTDDetId::BTL, btlLayer(), MTDDetId::ETL, etlLayer(), Exception, SiStripPI::max, and MTDDetId::mtdSubDetector().
Referenced by getMTDLayerNumber(), geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
unsigned int MTDTopology::module | ( | const DetId & | id | ) | const |
Definition at line 54 of file MTDTopology.cc.
References MTDDetId::BTL, btlModule(), MTDDetId::ETL, etlModule(), Exception, SiStripPI::max, and MTDDetId::mtdSubDetector().
std::string MTDTopology::print | ( | DetId | detid | ) | const |
Definition at line 95 of file MTDTopology.cc.
References MTDDetId::BTL, btlLayer(), btlModule(), btlSide(), btlTray(), MTDDetId::ETL, etlLayer(), etlModule(), etlRing(), etlSide(), Exception, MTDDetId::mtdSubDetector(), side(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by etlDetIdDiskComparator().
unsigned int MTDTopology::ring | ( | const DetId & | id | ) | const |
Definition at line 80 of file MTDTopology.cc.
References MTDDetId::BTL, MTDDetId::ETL, etlModule(), Exception, SiStripPI::max, and MTDDetId::mtdSubDetector().
Referenced by geometryXMLparser.CSCAlignable::index().
unsigned int MTDTopology::side | ( | const DetId & | id | ) | const |
Definition at line 28 of file MTDTopology.cc.
References MTDDetId::BTL, btlSide(), MTDDetId::ETL, etlSide(), Exception, SiStripPI::max, and MTDDetId::mtdSubDetector().
Referenced by print().
unsigned int MTDTopology::tray | ( | const DetId & | id | ) | const |
Definition at line 67 of file MTDTopology.cc.
References MTDDetId::BTL, btlTray(), MTDDetId::ETL, Exception, SiStripPI::max, and MTDDetId::mtdSubDetector().
|
private |
Definition at line 183 of file MTDTopology.h.
Referenced by getField(), and hasField().
|
private |
Definition at line 175 of file MTDTopology.h.
Referenced by btlDetId(), btlLayer(), btlModule(), btlSide(), btlTray(), etlModule(), and MTDTopology().
|
private |
Definition at line 176 of file MTDTopology.h.
Referenced by etlDetId(), etlDisc(), etlLayer(), etlRing(), etlSide(), and MTDTopology().