|
|
Go to the documentation of this file.
12 : mtdTopologyMode_(topologyMode),
32 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in MTDTopology::side";
45 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in MTDTopology::layer";
58 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in MTDTopology::module";
71 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in MTDTopology::tray";
84 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in MTDTopology::ring";
91 std::stringstream strstr;
94 unsigned int theSide =
btlSide(
id);
95 unsigned int theLayer =
btlLayer(
id);
96 unsigned int theTray =
btlTray(
id);
100 <<
" Side " << theSide <<
side <<
" Layer " << theLayer <<
" Tray " << theTray <<
" Module "
102 strstr <<
" (" <<
id.rawId() <<
")";
107 unsigned int theSide =
etlSide(
id);
108 unsigned int theLayer =
etlLayer(
id);
109 unsigned int theRing =
etlRing(
id);
113 <<
" Side " << theSide <<
side <<
" Layer " << theLayer <<
" Ring " << theRing <<
" Module "
115 strstr <<
" (" <<
id.rawId() <<
")";
118 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in MTDTopology::print";
132 edm::LogInfo(
"MTDTopology") <<
">>> Invalid subdetId() ";
unsigned int moduleStartBit_
unsigned int side(const DetId &id) const
unsigned int etlModule(const DetId &id) const
unsigned int tray(const DetId &id) const
int getMTDLayerNumber(const DetId &id) const
unsigned int trayStartBit_
unsigned int btlModule(const DetId &id) const
unsigned int ringStartBit_
unsigned int ring(const DetId &id) const
MTDTopology(const int &topologyMode, const BTLValues &btl, const ETLValues &etl)
Log< level::Info, false > LogInfo
unsigned int btlTray(const DetId &id) const
unsigned int btlLayer(const DetId &id) const
unsigned int btlSide(const DetId &id) const
unsigned int etlLayer(const DetId &id) const
unsigned int sideStartBit_
int mtdSubDetector() const
unsigned int etlSide(const DetId &id) const
unsigned int sideStartBit_
std::string print(DetId detid) const
Detector identifier base class for the MIP Timing Layer.
unsigned int layerStartBit_
unsigned int module(const DetId &id) const
unsigned int etlRing(const DetId &id) const
unsigned int layerStartBit_
unsigned int moduleStartBit_
unsigned int layer(const DetId &id) const