CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Private Attributes
MTDTopology Class Reference

#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, SameLayerComparatorbtlDetIdLayerComparator (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, SameLayerComparatoretlDetIdDiskComparator (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_
 

Detailed Description

Definition at line 17 of file MTDTopology.h.

Member Enumeration Documentation

Enumerator
BTLModule 
BTLTray 
BTLLayer 
BTLSide 
ETLModule 
ETLRing 
ETLLayer 
ETLSide 
DETID_FIELDS_MAX 

Definition at line 43 of file MTDTopology.h.

Constructor & Destructor Documentation

MTDTopology::MTDTopology ( const BTLValues btl,
const ETLValues etl 
)

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_.

12  : btlVals_(btl),
13  etlVals_(etl),
23  }
24 {}
unsigned int ringMask_
Definition: MTDTopology.h:39
const BitmaskAndSubdet bits_per_field[DETID_FIELDS_MAX]
Definition: MTDTopology.h:183
unsigned int sideStartBit_
Definition: MTDTopology.h:22
unsigned int sideStartBit_
Definition: MTDTopology.h:33
unsigned int moduleMask_
Definition: MTDTopology.h:29
const ETLValues etlVals_
Definition: MTDTopology.h:176
unsigned int moduleStartBit_
Definition: MTDTopology.h:25
unsigned int layerStartBit_
Definition: MTDTopology.h:34
unsigned int trayMask_
Definition: MTDTopology.h:28
unsigned int moduleStartBit_
Definition: MTDTopology.h:36
unsigned int sideMask_
Definition: MTDTopology.h:26
unsigned int trayStartBit_
Definition: MTDTopology.h:24
unsigned int ringStartBit_
Definition: MTDTopology.h:35
unsigned int moduleMask_
Definition: MTDTopology.h:40
unsigned int layerStartBit_
Definition: MTDTopology.h:23
unsigned int sideMask_
Definition: MTDTopology.h:37
unsigned int layerMask_
Definition: MTDTopology.h:27
unsigned int layerMask_
Definition: MTDTopology.h:38
const BTLValues btlVals_
Definition: MTDTopology.h:175

Member Function Documentation

DetId MTDTopology::btlDetId ( uint32_t  side,
uint32_t  layer,
uint32_t  tray,
uint32_t  module 
) const
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().

124  {
125  //uply
127  uint32_t rawid=id.rawId();
133  return DetId(rawid);
134  }
unsigned int sideStartBit_
Definition: MTDTopology.h:22
unsigned int layer(const DetId &id) const
Definition: MTDTopology.cc:41
unsigned int moduleMask_
Definition: MTDTopology.h:29
unsigned int moduleStartBit_
Definition: MTDTopology.h:25
static const uint32_t kMTDsubdOffset
Definition: MTDDetId.h:31
unsigned int trayMask_
Definition: MTDTopology.h:28
unsigned int side(const DetId &id) const
Definition: MTDTopology.cc:28
unsigned int sideMask_
Definition: MTDTopology.h:26
unsigned int tray(const DetId &id) const
Definition: MTDTopology.cc:67
Definition: DetId.h:18
unsigned int trayStartBit_
Definition: MTDTopology.h:24
unsigned int layerStartBit_
Definition: MTDTopology.h:23
unsigned int layerMask_
Definition: MTDTopology.h:27
const BTLValues btlVals_
Definition: MTDTopology.h:175
Definition: vlib.h:208
std::pair<DetId, SameLayerComparator> MTDTopology::btlDetIdLayerComparator ( uint32_t  side,
uint32_t  layer 
) const
inline

Definition at line 150 of file MTDTopology.h.

References btlDetId().

150  {
151  return std::make_pair(btlDetId(side, layer, 1,1), SameLayerComparator(this));
152  }
unsigned int layer(const DetId &id) const
Definition: MTDTopology.cc:41
DetId btlDetId(uint32_t side, uint32_t layer, uint32_t tray, uint32_t module) const
Definition: MTDTopology.h:121
unsigned int side(const DetId &id) const
Definition: MTDTopology.cc:28
unsigned int MTDTopology::btlLayer ( const DetId id) const
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().

99  {
100  return int((id.rawId()>>btlVals_.layerStartBit_) & btlVals_.layerMask_);
101  }
unsigned int layerStartBit_
Definition: MTDTopology.h:23
unsigned int layerMask_
Definition: MTDTopology.h:27
const BTLValues btlVals_
Definition: MTDTopology.h:175
unsigned int MTDTopology::btlModule ( const DetId id) const
inline

Definition at line 81 of file MTDTopology.h.

References btlVals_, MTDTopology::BTLValues::moduleMask_, and MTDTopology::BTLValues::moduleStartBit_.

Referenced by module(), and print().

81  {
82  return ((id.rawId()>>btlVals_.moduleStartBit_)& btlVals_.moduleMask_);
83  }
unsigned int moduleMask_
Definition: MTDTopology.h:29
unsigned int moduleStartBit_
Definition: MTDTopology.h:25
const BTLValues btlVals_
Definition: MTDTopology.h:175
unsigned int MTDTopology::btlSide ( const DetId id) const
inline

Definition at line 107 of file MTDTopology.h.

References btlVals_, MTDTopology::BTLValues::sideMask_, and MTDTopology::BTLValues::sideStartBit_.

Referenced by print(), and side().

107  {
108  return ((id.rawId()>>btlVals_.sideStartBit_)&btlVals_.sideMask_);
109  }
unsigned int sideStartBit_
Definition: MTDTopology.h:22
unsigned int sideMask_
Definition: MTDTopology.h:26
const BTLValues btlVals_
Definition: MTDTopology.h:175
unsigned int MTDTopology::btlTray ( const DetId id) const
inline

Definition at line 89 of file MTDTopology.h.

References btlVals_, MTDTopology::BTLValues::trayMask_, and MTDTopology::BTLValues::trayStartBit_.

Referenced by print(), and tray().

89  {
90  return ((id.rawId()>>btlVals_.trayStartBit_) & btlVals_.trayMask_) ;
91  }
unsigned int trayMask_
Definition: MTDTopology.h:28
unsigned int trayStartBit_
Definition: MTDTopology.h:24
const BTLValues btlVals_
Definition: MTDTopology.h:175
DetId MTDTopology::etlDetId ( uint32_t  side,
uint32_t  layer,
uint32_t  ring,
uint32_t  module 
) const
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().

139  {
141  uint32_t rawid=id.rawId();
147  return DetId(rawid);
148  }
unsigned int ringMask_
Definition: MTDTopology.h:39
unsigned int layer(const DetId &id) const
Definition: MTDTopology.cc:41
unsigned int sideStartBit_
Definition: MTDTopology.h:33
const ETLValues etlVals_
Definition: MTDTopology.h:176
unsigned int layerStartBit_
Definition: MTDTopology.h:34
static const uint32_t kMTDsubdOffset
Definition: MTDDetId.h:31
unsigned int moduleStartBit_
Definition: MTDTopology.h:36
unsigned int side(const DetId &id) const
Definition: MTDTopology.cc:28
Definition: DetId.h:18
unsigned int ringStartBit_
Definition: MTDTopology.h:35
unsigned int moduleMask_
Definition: MTDTopology.h:40
unsigned int ring(const DetId &id) const
Definition: MTDTopology.cc:80
unsigned int sideMask_
Definition: MTDTopology.h:37
unsigned int layerMask_
Definition: MTDTopology.h:38
Definition: vlib.h:208
std::pair<DetId, SameLayerComparator> MTDTopology::etlDetIdDiskComparator ( uint32_t  side,
uint32_t  layer 
) const
inline

Definition at line 154 of file MTDTopology.h.

References etlDetId(), getMTDLayerNumber(), print(), and AlCaHLTBitMon_QueryRunRegistry::string.

154  {
155  return std::make_pair(etlDetId(side, layer, 1,1), SameLayerComparator(this));
156  }
unsigned int layer(const DetId &id) const
Definition: MTDTopology.cc:41
unsigned int side(const DetId &id) const
Definition: MTDTopology.cc:28
DetId etlDetId(uint32_t side, uint32_t layer, uint32_t ring, uint32_t module) const
Definition: MTDTopology.h:136
unsigned int MTDTopology::etlDisc ( const DetId id) const
inline

Definition at line 116 of file MTDTopology.h.

References etlVals_, createfilelist::int, MTDTopology::ETLValues::ringMask_, and MTDTopology::ETLValues::ringStartBit_.

116  {
117  return int((id.rawId()>>etlVals_.ringStartBit_) & etlVals_.ringMask_)%2;
118  }
unsigned int ringMask_
Definition: MTDTopology.h:39
const ETLValues etlVals_
Definition: MTDTopology.h:176
unsigned int ringStartBit_
Definition: MTDTopology.h:35
unsigned int MTDTopology::etlLayer ( const DetId id) const
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().

102  {
103  return int((id.rawId()>>etlVals_.layerStartBit_) & etlVals_.layerMask_);
104  }
const ETLValues etlVals_
Definition: MTDTopology.h:176
unsigned int layerStartBit_
Definition: MTDTopology.h:34
unsigned int layerMask_
Definition: MTDTopology.h:38
unsigned int MTDTopology::etlModule ( const DetId id) const
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().

84  {
85  return int((id.rawId()>>btlVals_.moduleStartBit_) & btlVals_.moduleMask_);
86  }
unsigned int moduleMask_
Definition: MTDTopology.h:29
unsigned int moduleStartBit_
Definition: MTDTopology.h:25
const BTLValues btlVals_
Definition: MTDTopology.h:175
unsigned int MTDTopology::etlRing ( const DetId id) const
inline

Definition at line 94 of file MTDTopology.h.

References etlVals_, MTDTopology::ETLValues::ringMask_, and MTDTopology::ETLValues::ringStartBit_.

Referenced by print().

94  {
95  return ((id.rawId()>>etlVals_.ringStartBit_) & etlVals_.ringMask_) ;
96  }
unsigned int ringMask_
Definition: MTDTopology.h:39
const ETLValues etlVals_
Definition: MTDTopology.h:176
unsigned int ringStartBit_
Definition: MTDTopology.h:35
unsigned int MTDTopology::etlSide ( const DetId id) const
inline

Definition at line 111 of file MTDTopology.h.

References etlVals_, MTDTopology::ETLValues::sideMask_, and MTDTopology::ETLValues::sideStartBit_.

Referenced by print(), and side().

111  {
112  return ((id.rawId()>>etlVals_.sideStartBit_)&etlVals_.sideMask_);
113  }
unsigned int sideStartBit_
Definition: MTDTopology.h:33
const ETLValues etlVals_
Definition: MTDTopology.h:176
unsigned int sideMask_
Definition: MTDTopology.h:37
unsigned int MTDTopology::getField ( const DetId id,
DetIdFields  idx 
) const
inline

Definition at line 164 of file MTDTopology.h.

References bits_per_field, and RecoTauDiscriminantConfiguration::mask.

164  {
165  return ((id.rawId()>>bits_per_field[idx].startBit)&bits_per_field[idx].mask);
166  }
const BitmaskAndSubdet bits_per_field[DETID_FIELDS_MAX]
Definition: MTDTopology.h:183
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().

134  {
135  int layer = -1;
136  uint32_t subdet=MTDDetId(id).mtdSubDetector();
137 
138  if (id.det() == DetId::Forward) {
139  if (subdet == MTDDetId::BTL) {
140  layer = btlLayer(id);
141  } else if (id.subdetId() == MTDDetId::ETL) {
142  layer = etlLayer(id);
143  } else {
144  edm::LogInfo("MTDTopology") << ">>> Invalid subdetId() " ;
145  }
146  }
147  return layer;
148 }
unsigned int layer(const DetId &id) const
Definition: MTDTopology.cc:41
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
unsigned int btlLayer(const DetId &id) const
Definition: MTDTopology.h:99
int mtdSubDetector() const
Definition: MTDDetId.h:58
unsigned int etlLayer(const DetId &id) const
Definition: MTDTopology.h:102
bool MTDTopology::hasField ( const DetId id,
DetIdFields  idx 
) const
inline

Definition at line 169 of file MTDTopology.h.

References bits_per_field, training_settings::idx, and MTDTopology::BitmaskAndSubdet::subdet.

169  {
170  return id.subdetId() == bits_per_field[idx].subdet;
171  }
const BitmaskAndSubdet bits_per_field[DETID_FIELDS_MAX]
Definition: MTDTopology.h:183
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().

41  {
42  uint32_t subdet=MTDDetId(id).mtdSubDetector();
43  switch( subdet ) {
44  case MTDDetId::BTL:
45  return btlLayer(id);
46  case MTDDetId::ETL:
47  return etlLayer(id);
48  default:
49  throw cms::Exception("Invalid DetId") << "Unsupported DetId in MTDTopology::layer";
50  }
52 }
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
unsigned int btlLayer(const DetId &id) const
Definition: MTDTopology.h:99
int mtdSubDetector() const
Definition: MTDDetId.h:58
unsigned int etlLayer(const DetId &id) const
Definition: MTDTopology.h:102
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().

54  {
55  uint32_t subdet=MTDDetId(id).mtdSubDetector();
56  switch( subdet ) {
57  case MTDDetId::BTL:
58  return btlModule(id);
59  case MTDDetId::ETL:
60  return etlModule(id);
61  default:
62  throw cms::Exception("Invalid DetId") << "Unsupported DetId in MTDTopology::module";
63  }
65 }
unsigned int btlModule(const DetId &id) const
Definition: MTDTopology.h:81
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
unsigned int etlModule(const DetId &id) const
Definition: MTDTopology.h:84
int mtdSubDetector() const
Definition: MTDDetId.h:58
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().

95  {
96  uint32_t subdet=MTDDetId(id).mtdSubDetector();
97  std::stringstream strstr;
98 
99  if ( subdet == MTDDetId::BTL ) {
100  unsigned int theSide = btlSide(id);
101  unsigned int theLayer = btlLayer(id);
102  unsigned int theTray = btlTray(id);
103  unsigned int theModule = btlModule(id);
104  std::string side = (btlSide(id) == 1 ) ? "-" : "+";
105  strstr << "BTL"
106  << " Side " << theSide << side
107  << " Layer " << theLayer
108  << " Tray " << theTray
109  << " Module " << theModule ;
110  strstr << " (" << id.rawId() << ")";
111  return strstr.str();
112  }
113 
114  if ( subdet == MTDDetId::ETL ) {
115  unsigned int theSide = etlSide(id);
116  unsigned int theLayer = etlLayer(id);
117  unsigned int theRing = etlRing(id);
118  unsigned int theModule = etlModule(id);
119  std::string side = (etlSide(id) == 1 ) ? "-" : "+";
120  strstr << "ETL"
121  << " Side " << theSide << side
122  << " Layer " << theLayer
123  << " Ring " << theRing
124  << " Module " << theModule ;
125  strstr << " (" << id.rawId() << ")";
126  return strstr.str();
127  }
128  throw cms::Exception("Invalid DetId") << "Unsupported DetId in MTDTopology::print";
129  return strstr.str();
130 }
unsigned int btlTray(const DetId &id) const
Definition: MTDTopology.h:89
unsigned int btlSide(const DetId &id) const
Definition: MTDTopology.h:107
unsigned int btlModule(const DetId &id) const
Definition: MTDTopology.h:81
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
unsigned int btlLayer(const DetId &id) const
Definition: MTDTopology.h:99
unsigned int side(const DetId &id) const
Definition: MTDTopology.cc:28
unsigned int etlSide(const DetId &id) const
Definition: MTDTopology.h:111
unsigned int etlModule(const DetId &id) const
Definition: MTDTopology.h:84
int mtdSubDetector() const
Definition: MTDDetId.h:58
unsigned int etlRing(const DetId &id) const
Definition: MTDTopology.h:94
unsigned int etlLayer(const DetId &id) const
Definition: MTDTopology.h:102
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().

80  {
81  uint32_t subdet=MTDDetId(id).mtdSubDetector();
82  switch( subdet ) {
83  case MTDDetId::BTL:
85  case MTDDetId::ETL:
86  return etlModule(id);
87  default:
88  throw cms::Exception("Invalid DetId") << "Unsupported DetId in MTDTopology::ring";
89  }
91 }
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
unsigned int etlModule(const DetId &id) const
Definition: MTDTopology.h:84
int mtdSubDetector() const
Definition: MTDDetId.h:58
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().

28  {
29  uint32_t subdet=MTDDetId(id).mtdSubDetector();
30  switch( subdet ) {
31  case MTDDetId::BTL:
32  return btlSide(id);
33  case MTDDetId::ETL:
34  return etlSide(id);
35  default:
36  throw cms::Exception("Invalid DetId") << "Unsupported DetId in MTDTopology::side";
37  }
39 }
unsigned int btlSide(const DetId &id) const
Definition: MTDTopology.h:107
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
unsigned int etlSide(const DetId &id) const
Definition: MTDTopology.h:111
int mtdSubDetector() const
Definition: MTDDetId.h:58
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().

67  {
68  uint32_t subdet=MTDDetId(id).mtdSubDetector();
69  switch( subdet ) {
70  case MTDDetId::BTL:
71  return btlTray(id);
72  case MTDDetId::ETL:
74  default:
75  throw cms::Exception("Invalid DetId") << "Unsupported DetId in MTDTopology::tray";
76  }
78 }
unsigned int btlTray(const DetId &id) const
Definition: MTDTopology.h:89
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
int mtdSubDetector() const
Definition: MTDDetId.h:58

Member Data Documentation

const BitmaskAndSubdet MTDTopology::bits_per_field[DETID_FIELDS_MAX]
private

Definition at line 183 of file MTDTopology.h.

Referenced by getField(), and hasField().

const BTLValues MTDTopology::btlVals_
private

Definition at line 175 of file MTDTopology.h.

Referenced by btlDetId(), btlLayer(), btlModule(), btlSide(), btlTray(), etlModule(), and MTDTopology().

const ETLValues MTDTopology::etlVals_
private

Definition at line 176 of file MTDTopology.h.

Referenced by etlDetId(), etlDisc(), etlLayer(), etlRing(), etlSide(), and MTDTopology().