12 : mtdTopologyMode_(topologyMode),
37 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in MTDTopology::side";
50 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in MTDTopology::layer";
63 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in MTDTopology::module";
76 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in MTDTopology::tray";
89 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in MTDTopology::ring";
98 std::stringstream strstr;
101 unsigned int theSide =
btlSide(
id);
102 unsigned int theLayer =
btlLayer(
id);
103 unsigned int theTray =
btlTray(
id);
107 <<
" Side " << theSide << side
108 <<
" Layer " << theLayer
109 <<
" Tray " << theTray
110 <<
" Module " << theModule ;
111 strstr <<
" (" <<
id.rawId() <<
")";
116 unsigned int theSide =
etlSide(
id);
117 unsigned int theLayer =
etlLayer(
id);
118 unsigned int theRing =
etlRing(
id);
122 <<
" Side " << theSide << side
123 <<
" Layer " << theLayer
124 <<
" Ring " << theRing
125 <<
" Module " << theModule ;
126 strstr <<
" (" <<
id.rawId() <<
")";
129 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in MTDTopology::print";
145 edm::LogInfo(
"MTDTopology") <<
">>> Invalid subdetId() " ;
MTDTopology(const int &topologyMode, const BTLValues &btl, const ETLValues &etl)
unsigned int btlTray(const DetId &id) const
std::string print(DetId detid) const
unsigned int module(const DetId &id) const
unsigned int sideStartBit_
unsigned int layer(const DetId &id) const
unsigned int sideStartBit_
unsigned int btlSide(const DetId &id) const
unsigned int moduleStartBit_
unsigned int btlModule(const DetId &id) const
unsigned int layerStartBit_
Detector identifier base class for the MIP Timing Layer.
unsigned int btlLayer(const DetId &id) const
unsigned int moduleStartBit_
unsigned int side(const DetId &id) const
unsigned int tray(const DetId &id) const
unsigned int etlSide(const DetId &id) const
unsigned int trayStartBit_
unsigned int ringStartBit_
unsigned int layerStartBit_
unsigned int ring(const DetId &id) const
unsigned int etlModule(const DetId &id) const
int mtdSubDetector() const
int getMTDLayerNumber(const DetId &id) const
unsigned int etlRing(const DetId &id) const
unsigned int etlLayer(const DetId &id) const