#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 |
int | getMTDTopologyMode () 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 int &topologyMode, 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_ |
const int | mtdTopologyMode_ |
Definition at line 16 of file MTDTopology.h.
Enumerator | |
---|---|
BTLModule | |
BTLTray | |
BTLLayer | |
BTLSide | |
ETLModule | |
ETLRing | |
ETLLayer | |
ETLSide | |
DETID_FIELDS_MAX |
Definition at line 40 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 114 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 135 of file MTDTopology.h.
References btlDetId().
|
inline |
Definition at line 96 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 82 of file MTDTopology.h.
References btlVals_, MTDTopology::BTLValues::moduleMask_, and MTDTopology::BTLValues::moduleStartBit_.
Referenced by module(), and print().
|
inline |
Definition at line 104 of file MTDTopology.h.
References btlVals_, MTDTopology::BTLValues::sideMask_, and MTDTopology::BTLValues::sideStartBit_.
Referenced by print(), and side().
|
inline |
Definition at line 90 of file MTDTopology.h.
References btlVals_, MTDTopology::BTLValues::trayMask_, and MTDTopology::BTLValues::trayStartBit_.
Referenced by print(), and tray().
|
inline |
Definition at line 125 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 139 of file MTDTopology.h.
References etlDetId(), getMTDLayerNumber(), print(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 109 of file MTDTopology.h.
References etlVals_, createfilelist::int, MTDTopology::ETLValues::ringMask_, and MTDTopology::ETLValues::ringStartBit_.
|
inline |
Definition at line 99 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 85 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 93 of file MTDTopology.h.
References etlVals_, MTDTopology::ETLValues::ringMask_, and MTDTopology::ETLValues::ringStartBit_.
Referenced by print().
|
inline |
Definition at line 106 of file MTDTopology.h.
References etlVals_, MTDTopology::ETLValues::sideMask_, and MTDTopology::ETLValues::sideStartBit_.
Referenced by print(), and side().
|
inline |
Definition at line 149 of file MTDTopology.h.
References bits_per_field.
int MTDTopology::getMTDLayerNumber | ( | const DetId & | id | ) | const |
Definition at line 122 of file MTDTopology.cc.
References MTDDetId::BTL, btlLayer(), MTDDetId::ETL, etlLayer(), DetId::Forward, layer(), and MTDDetId::mtdSubDetector().
Referenced by etlDetIdDiskComparator().
|
inline |
Definition at line 73 of file MTDTopology.h.
References layer(), module(), mtdTopologyMode_, ring(), side(), and tray().
Referenced by BtlDigiHitsValidation::analyze(), BtlSimHitsValidation::analyze(), BtlRecHitsValidation::analyze(), MTDThresholdClusterizer::clusterize(), BTLBarDeviceSim::getHitsResponse(), and MTDTimeCalib::getTimeCalib().
|
inline |
Definition at line 154 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 37 of file MTDTopology.cc.
References MTDDetId::BTL, btlLayer(), MTDDetId::ETL, etlLayer(), Exception, SiStripPI::max, and MTDDetId::mtdSubDetector().
Referenced by getMTDLayerNumber(), getMTDTopologyMode(), geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
unsigned int MTDTopology::module | ( | const DetId & | id | ) | const |
Definition at line 50 of file MTDTopology.cc.
References MTDDetId::BTL, btlModule(), MTDDetId::ETL, etlModule(), Exception, SiStripPI::max, and MTDDetId::mtdSubDetector().
Referenced by getMTDTopologyMode().
std::string MTDTopology::print | ( | DetId | detid | ) | const |
Definition at line 89 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 76 of file MTDTopology.cc.
References MTDDetId::BTL, MTDDetId::ETL, etlModule(), Exception, SiStripPI::max, and MTDDetId::mtdSubDetector().
Referenced by getMTDTopologyMode(), and geometryXMLparser.CSCAlignable::index().
unsigned int MTDTopology::side | ( | const DetId & | id | ) | const |
Definition at line 24 of file MTDTopology.cc.
References MTDDetId::BTL, btlSide(), MTDDetId::ETL, etlSide(), Exception, SiStripPI::max, and MTDDetId::mtdSubDetector().
Referenced by getMTDTopologyMode(), and print().
unsigned int MTDTopology::tray | ( | const DetId & | id | ) | const |
Definition at line 63 of file MTDTopology.cc.
References MTDDetId::BTL, btlTray(), MTDDetId::ETL, Exception, SiStripPI::max, and MTDDetId::mtdSubDetector().
Referenced by getMTDTopologyMode().
|
private |
Definition at line 167 of file MTDTopology.h.
Referenced by getField(), and hasField().
|
private |
Definition at line 159 of file MTDTopology.h.
Referenced by btlDetId(), btlLayer(), btlModule(), btlSide(), btlTray(), etlModule(), and MTDTopology().
|
private |
Definition at line 160 of file MTDTopology.h.
Referenced by etlDetId(), etlDisc(), etlLayer(), etlRing(), etlSide(), and MTDTopology().
|
private |
Definition at line 157 of file MTDTopology.h.
Referenced by getMTDTopologyMode().