#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, layer(), MTDTopology::BTLValues::layerMask_, MTDTopology::BTLValues::layerStartBit_, module(), MTDTopology::BTLValues::moduleMask_, MTDTopology::BTLValues::moduleStartBit_, side(), MTDTopology::BTLValues::sideMask_, MTDTopology::BTLValues::sideStartBit_, tray(), MTDTopology::BTLValues::trayMask_, and MTDTopology::BTLValues::trayStartBit_.
Referenced by btlDetIdLayerComparator().
|
inline |
Definition at line 135 of file MTDTopology.h.
References btlDetId(), layer(), and side().
|
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_.
|
inline |
Definition at line 104 of file MTDTopology.h.
References btlVals_, MTDTopology::BTLValues::sideMask_, and MTDTopology::BTLValues::sideStartBit_.
|
inline |
Definition at line 90 of file MTDTopology.h.
References btlVals_, MTDTopology::BTLValues::trayMask_, and MTDTopology::BTLValues::trayStartBit_.
|
inline |
Definition at line 125 of file MTDTopology.h.
References MTDDetId::ETL, etlVals_, FastTime, DetId::Forward, triggerObjects_cff::id, MTDDetId::kMTDsubdOffset, layer(), MTDTopology::ETLValues::layerMask_, MTDTopology::ETLValues::layerStartBit_, module(), MTDTopology::ETLValues::moduleMask_, MTDTopology::ETLValues::moduleStartBit_, ring(), MTDTopology::ETLValues::ringMask_, MTDTopology::ETLValues::ringStartBit_, side(), MTDTopology::ETLValues::sideMask_, and MTDTopology::ETLValues::sideStartBit_.
Referenced by etlDetIdDiskComparator().
|
inline |
Definition at line 139 of file MTDTopology.h.
References etlDetId(), layer(), and side().
|
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_.
|
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_.
|
inline |
Definition at line 149 of file MTDTopology.h.
References bits_per_field, and heavyIonCSV_trainingSettings::idx.
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().
|
inline |
Definition at line 73 of file MTDTopology.h.
References mtdTopologyMode_.
Referenced by MTDThresholdClusterizer::clusterize(), MTDThresholdClusterizer::copy_to_buffer(), BTLDeviceSim::getHitsResponse(), and MTDTimeCalib::getTimeCalib().
|
inline |
Definition at line 154 of file MTDTopology.h.
References bits_per_field, heavyIonCSV_trainingSettings::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 btlDetId(), btlDetIdLayerComparator(), etlDetId(), etlDetIdDiskComparator(), getMTDLayerNumber(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), and MTDTopology::SameLayerComparator::operator()().
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 btlDetId(), and etlDetId().
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.
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 etlDetId(), 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 btlDetId(), btlDetIdLayerComparator(), etlDetId(), etlDetIdDiskComparator(), MTDTopology::SameLayerComparator::operator()(), 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 btlDetId().
|
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().