34 output <<
"TIB ring Detid: " <<
id.rawId()
35 <<
" layer: " << tibid.
layer()
36 <<
" fw(0)/bw(1): " << tibid.
string()[0]
37 <<
" int(0)/ext(1): " << tibid.
string()[1]
38 <<
" string: " << tibid.
string()[2]
39 <<
" module: " << tibid.
module();
41 output <<
" corresponding to matched detunit of glued sensor";
43 output <<
" corresponding to rphi detunit of glued sensor";
45 output <<
" corresponding to stereo detunit of glued sensor";
47 output <<
" corresponding to rphi detunit of single sensor";
52 output <<
"TOB ring Detid: " <<
id.rawId()
53 <<
" layer: " << tobid.
layer()
54 <<
" fw(0)/bw(1): " << tobid.
rod()[0]
55 <<
" rod: " << tobid.
rod()[1]
56 <<
" detector: " << tobid.
module();
58 output <<
" corresponding to matched detunit of glued sensor";
60 output <<
" corresponding to rphi detunit of glued sensor";
62 output <<
" corresponding to stereo detunit of glued sensor";
64 output <<
" corresponding to rphi detunit of single sensor";
69 output <<
"TID ring Detid: " <<
id.rawId()
70 <<
" side neg(1)/pos(2): " << tidid.
side()
71 <<
" wheel: " << tidid.
wheel()
72 <<
" ring: " << tidid.
ring()
73 <<
" detector fw(0)/bw(1): " << tidid.
module()[0]
74 <<
" detector: " << tidid.
module()[1];
76 output <<
" corresponding to matched detunit of glued sensor";
78 output <<
" corresponding to rphi detunit of glued sensor";
80 output <<
" corresponding to stereo detunit of glued sensor";
82 output <<
" corresponding to rphi detunit of single sensor";
87 output <<
"TEC ring DetId: " <<
id.rawId()
88 <<
" side neg(1)/pos(2): " << tecid.
side()
89 <<
" wheel: " << tecid.
wheel()
90 <<
" petal fw(0)/bw(1): " << tecid.
petal()[0]
91 <<
" petal: " << tecid.
petal()[1]
92 <<
" ring: " << tecid.
ring()
93 <<
" module: " << tecid.
module();
95 output <<
" corresponding to matched detunit of glued sensor";
97 output <<
" corresponding to rphi detunit of glued sensor";
99 output <<
" corresponding to stereo detunit of glued sensor";
101 output <<
" corresponding to rphi detunit of single sensor";
106 output <<
"PXB ring DetId: " <<
id.rawId()
107 <<
" layer: " << pxbid.
layer()
108 <<
" ladder: " << pxbid.
ladder()
109 <<
" detector: " << pxbid.
module()
113 output <<
"PXF ring DetId: " <<
id.rawId()
114 <<
" side: " << pxfid.
side()
115 <<
" disk: " << pxfid.
disk()
116 <<
" blade: " << pxfid.
blade()
117 <<
" detector: " << pxfid.
module()
132 if ( !tibid.
glued() ) {
133 if ( tibid.
layer() == 1 ||
134 tibid.
layer() == 2 ) {
140 if ( !tobid.
glued() ) {
141 if ( tobid.
layer() == 1 ||
142 tobid.
layer() == 2 ) {
148 if ( !tidid.
glued() ) {
149 if ( tidid.
ring() == 1 ||
150 tidid.
ring() == 2 ) {
156 if ( !tecid.
glued() ) {
157 if ( tecid.
ring() == 1 ||
159 tecid.
ring() == 5 ) {
175 if ( !tibid.
glued() ) {
176 if ( tibid.
layer() == 1 ||
177 tibid.
layer() == 2 ) {
185 if ( !tobid.
glued() ) {
186 if ( tobid.
layer() == 1 ||
187 tobid.
layer() == 2 ) {
197 if ( !tidid.
glued() ) {
198 if ( tidid.
ring() == 1 ||
199 tidid.
ring() == 2 ) {
209 if ( !tecid.
glued() ) {
210 if ( tecid.
ring() == 1 ||
212 tecid.
ring() == 5 ) {
232 if ( !tibid.
glued() ) {
241 if ( !tobid.
glued() ) {
250 if ( !tidid.
glued() ) {
259 if ( !tecid.
glued() ) {
282 if ( !tibid.
glued() ) {
291 if ( !tobid.
glued() ) {
300 if ( !tidid.
glued() ) {
309 if ( !tecid.
glued() ) {
331 return DetId(
id.rawId()+2);
333 return DetId(
id.rawId()+1);
357 if ( id1TIB.layer() == id2TIB.layer() ) {
366 if ( id1TOB.layer() == id2TOB.layer() ) {
375 if ( id1TID.wheel() == id2TID.wheel() ) {
384 if ( id1TEC.wheel() == id2TEC.wheel() ) {
393 if ( id1PXB.layer() == id2PXB.layer() ) {
402 if ( id1PXF.disk() == id2PXF.disk() ) {
unsigned int layer() const
layer id
static DetId ReturnRPhiId(const DetId id)
unsigned int ladder() const
ladder id
std::vector< unsigned int > string() const
string id
unsigned int module() const
det id
unsigned int layer() const
layer id
unsigned int side() const
positive or negative id
std::vector< unsigned int > rod() const
rod id
unsigned int blade() const
blade id
static bool IsGluedRPhi(const DetId id)
uint32_t rawId() const
get the raw id
std::vector< unsigned int > petal() const
petal id
unsigned int ring() const
ring id
static bool IsSingleRPhi(const DetId id)
unsigned int module() const
det id
static bool detIdsOnSameLayer(DetId id1, DetId id2)
unsigned int module() const
det id
std::vector< unsigned int > module() const
det id
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
unsigned int disk() const
disk id
unsigned int module() const
detector id
unsigned int side() const
positive or negative id
unsigned int wheel() const
wheel id
unsigned int layer() const
layer id
unsigned int ring() const
ring id
unsigned int side() const
positive or negative id
unsigned int module() const
detector id
static bool IsMatched(const DetId id)
static std::string Print(const DetId id)
static bool IsStereo(const DetId id)
unsigned int wheel() const
wheel id