21 uint32_t subdet=
id.subdetId();
35 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in TrackerTopology::layer";
40 uint32_t subdet=
id.subdetId();
54 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in TrackerTopology::module";
59 uint32_t subdet=
id.subdetId();
60 std::stringstream strstr;
63 strstr <<
"(PixelBarrel "
71 strstr <<
"(PixelEndcap "
80 unsigned int theLayer =
tibLayer(
id);
85 side = (theString[0] == 1 ) ?
"-" :
"+";
86 part = (theString[1] == 1 ) ?
"int" :
"ext";
88 type = (
tibStereo(
id) == 0) ?
"r-phi" :
"stereo";
89 type = (
tibGlued(
id) == 0) ? type : type+
" glued";
91 strstr <<
"TIB" << side
92 <<
" Layer " << theLayer <<
" " << part
93 <<
" String " << theString[2]
94 <<
" Module " << theModule <<
" " << type
95 <<
" (" <<
id.rawId() <<
")";
100 unsigned int theDisk =
tidWheel(
id);
101 unsigned int theRing =
tidRing(
id);
105 side = (
tidSide(
id) == 1 ) ?
"-" :
"+";
106 part = (theModule[0] == 1 ) ?
"back" :
"front";
108 type = (
tidStereo(
id) == 0) ?
"r-phi" :
"stereo";
109 type = (
tidGlued(
id) == 0) ? type : type+
" glued";
111 strstr <<
"TID" << side
112 <<
" Disk " << theDisk
113 <<
" Ring " << theRing <<
" " << part
114 <<
" Module " << theModule[1] <<
" " << type
115 <<
" (" <<
id.rawId() <<
")";
120 unsigned int theLayer =
tobLayer(
id);
121 std::vector<unsigned int> theRod =
tobRodInfo(
id);
125 side = (theRod[0] == 1 ) ?
"-" :
"+";
127 type = (
tobStereo(
id) == 0) ?
"r-phi" :
"stereo";
128 type = (
tobGlued(
id) == 0) ? type : type+
" glued";
130 strstr <<
"TOB" << side
131 <<
" Layer " << theLayer
132 <<
" Rod " << theRod[1]
133 <<
" Module " << theModule <<
" " << type
134 <<
" (" <<
id.rawId() <<
")";
139 unsigned int theWheel =
tecWheel(
id);
142 unsigned int theRing =
tecRing(
id);
145 side = (
tecSide(
id) == 1 ) ?
"-" :
"+";
146 petal = (thePetal[0] == 1 ) ?
"back" :
"front";
148 type = (
tecStereo(
id) == 0) ?
"r-phi" :
"stereo";
149 type = (
tecGlued(
id) == 0) ? type : type+
" glued";
151 strstr <<
"TEC" << side
152 <<
" Wheel " << theWheel
153 <<
" Petal " << thePetal[1] <<
" " << petal
154 <<
" Ring " << theRing
155 <<
" Module " << theModule <<
" " << type
156 <<
" (" <<
id.rawId() <<
")";
162 throw cms::Exception(
"Invalid DetId") <<
"Unsupported DetId in TrackerTopology::module";
bool tecIsDoubleSide(const DetId &id) const
bool tobIsDoubleSide(const DetId &id) const
uint32_t tobGlued(const DetId &id) const
bool tibIsDoubleSide(const DetId &id) const
unsigned int tibLayer(const DetId &id) const
unsigned int tidRing(const DetId &id) const
std::vector< unsigned int > tidModuleInfo(const DetId &id) const
unsigned int pxfDisk(const DetId &id) const
unsigned int tecRing(const DetId &id) const
ring id
uint32_t tobStereo(const DetId &id) const
unsigned int pxbLadder(const DetId &id) const
uint32_t tecGlued(const DetId &id) const
unsigned int tidWheel(const DetId &id) const
unsigned int pxbModule(const DetId &id) const
std::vector< unsigned int > tibStringInfo(const DetId &id) const
std::string print(DetId detid) const
PixelEndcapValues pfVals_
unsigned int module(const DetId &id) const
std::vector< unsigned int > tecPetalInfo(const DetId &id) const
unsigned int tidSide(const DetId &id) const
PixelBarrelValues pbVals_
uint32_t tidStereo(const DetId &id) const
std::vector< unsigned int > tobRodInfo(const DetId &id) const
unsigned int tidModule(const DetId &id) const
unsigned int tibModule(const DetId &id) const
unsigned int pxfModule(const DetId &id) const
unsigned int pxbLayer(const DetId &id) const
unsigned int tecModule(const DetId &id) const
uint32_t tibGlued(const DetId &id) const
bool tidIsDoubleSide(const DetId &id) const
unsigned int tobModule(const DetId &id) const
unsigned int layer(const DetId &id) const
uint32_t tecStereo(const DetId &id) const
uint32_t tibStereo(const DetId &id) const
unsigned int tecWheel(const DetId &id) const
TrackerTopology(const PixelBarrelValues &pxb, const PixelEndcapValues &pxf, const TECValues &tecv, const TIBValues &tibv, const TIDValues &tidv, const TOBValues &tobv)
unsigned int pxfPanel(const DetId &id) const
unsigned int pxfBlade(const DetId &id) const
unsigned int tobLayer(const DetId &id) const
unsigned int tecSide(const DetId &id) const
uint32_t tidGlued(const DetId &id) const