3 using namespace GeomDetEnumerators;
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 ==
P1PXEC )
return s <<
"Phase1PixelEndcap";
27 else if ( m ==
P2PXEC )
return s <<
"Phase2PixelEndcap";
45 return (subdet ==
TIB || subdet ==
TOB ||
46 subdet ==
TID || subdet ==
TEC);
64 return (subdet ==
DT) ;
69 return (subdet ==
CSC) ;
80 return (subdet ==
GEM ) ;
85 return (subdet ==
ME0 ) ;
91 return (subdet ==
DT || subdet ==
CSC ||
isRPC(subdet) || subdet ==
GEM || subdet ==
ME0) ;
bool isTracker(const GeomDetEnumerators::SubDetector m)
bool isGEM(const GeomDetEnumerators::SubDetector m)
bool isBarrel(GeomDetEnumerators::SubDetector m)
bool isRPC(const GeomDetEnumerators::SubDetector m)
bool isDT(const GeomDetEnumerators::SubDetector m)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
bool isTrackerStrip(const GeomDetEnumerators::SubDetector m)
bool isEndcap(GeomDetEnumerators::SubDetector m)
bool isMuon(const GeomDetEnumerators::SubDetector m)
bool isME0(const GeomDetEnumerators::SubDetector m)
bool isTrackerPixel(const GeomDetEnumerators::SubDetector m)
bool isCSC(const GeomDetEnumerators::SubDetector m)