6 if (l ==
barrel)
return s <<
"barrel";
7 else return s <<
"endcap";
12 else if ( m ==
PixelEndcap )
return s <<
"PixelEndcap";
13 else if ( m ==
TIB)
return s <<
"TIB";
14 else if (m ==
TOB)
return s <<
"TOB";
15 else if (m ==
TID)
return s <<
"TID";
16 else if (m ==
TEC)
return s <<
"TEC";
17 else if ( m ==
DT )
return s <<
"DT";
18 else if ( m ==
CSC )
return s <<
"CSC";
19 else if ( m ==
RPCBarrel )
return s <<
"RPCBarrel";
20 else if ( m ==
RPCEndcap )
return s <<
"RPCEndcap";
21 else if ( m ==
GEM)
return s <<
"GEM";
22 else if ( m ==
ME0 )
return s <<
"ME0";
23 else if ( m ==
P2OTB )
return s <<
"Phase2OTBarrel";
24 else if ( m ==
P2OTEC )
return s <<
"Phase2OTEndcap";
25 else if ( m ==
P1PXB )
return s <<
"Phase1PixelBarrel";
26 else if ( m ==
P2PXB )
return s <<
"Phase2PixelBarrel";
27 else if ( m ==
P1PXEC )
return s <<
"Phase1PixelEndcap";
28 else if ( m ==
P2PXEC )
return s <<
"Phase2PixelEndcap";
29 else if ( m ==
TimingBarrel )
return s <<
"Phase2TimingBarrel";
30 else if ( m ==
TimingEndcap )
return s <<
"Phase2TimingEndcap";
48 return (subdet ==
TIB || subdet ==
TOB ||
49 subdet ==
TID || subdet ==
TEC);
67 return (subdet ==
DT) ;
72 return (subdet ==
CSC) ;
83 return (subdet ==
GEM ) ;
88 return (subdet ==
ME0 ) ;
94 return (subdet ==
DT || subdet ==
CSC ||
isRPC(subdet) || subdet ==
GEM || subdet ==
ME0) ;
bool isBarrel(GeomDetEnumerators::SubDetector m)
bool isME0(GeomDetEnumerators::SubDetector m)
bool isDT(GeomDetEnumerators::SubDetector m)
bool isTiming(GeomDetEnumerators::SubDetector m)
bool isGEM(GeomDetEnumerators::SubDetector m)
bool isEndcap(GeomDetEnumerators::SubDetector m)
bool isTrackerStrip(GeomDetEnumerators::SubDetector m)
bool isMuon(GeomDetEnumerators::SubDetector m)
bool isRPC(GeomDetEnumerators::SubDetector m)
bool isCSC(GeomDetEnumerators::SubDetector m)
bool isTracker(GeomDetEnumerators::SubDetector m)
bool isTrackerPixel(GeomDetEnumerators::SubDetector m)
std::ostream & operator<<(std::ostream &s, Location l)