Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Geometry
CommonDetUnit
src
GeomDetEnumerators.cc
Go to the documentation of this file.
1
#include "
Geometry/CommonDetUnit/interface/GeomDetEnumerators.h
"
2
#include<ostream>
3
using namespace
GeomDetEnumerators;
4
5
std::ostream&
operator<<
( std::ostream&
s
,
Location
l
) {
6
if
(l ==
barrel
)
return
s <<
"barrel"
;
7
else
return
s <<
"endcap"
;
8
}
9
10
std::ostream&
operator<<
( std::ostream&
s
,
SubDetector
m
){
11
if
( m ==
PixelBarrel
)
return
s <<
"PixelBarrel"
;
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
return
s <<
"?"
;
22
}
23
24
GeomDetEnumerators::TID
Definition:
GeomDetEnumerators.h:11
GeomDetEnumerators::Location
Location
Definition:
GeomDetEnumerators.h:10
GeomDetEnumerators::CSC
Definition:
GeomDetEnumerators.h:11
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
GeomDetEnumerators::TOB
Definition:
GeomDetEnumerators.h:11
GeomDetEnumerators::TIB
Definition:
GeomDetEnumerators.h:11
ConfigFiles.l
tuple l
Definition:
ConfigFiles.py:113
GeomDetEnumerators::SubDetector
SubDetector
Definition:
GeomDetEnumerators.h:11
GeomDetEnumerators::RPCBarrel
Definition:
GeomDetEnumerators.h:11
GeomDetEnumerators::TEC
Definition:
GeomDetEnumerators.h:11
m
int m
Definition:
DTDataIntegrityTask.cc:31
GeomDetEnumerators.h
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
GeomDetEnumerators::PixelBarrel
Definition:
GeomDetEnumerators.h:11
GeomDetEnumerators::PixelEndcap
Definition:
GeomDetEnumerators.h:11
GeomDetEnumerators::RPCEndcap
Definition:
GeomDetEnumerators.h:11
GeomDetEnumerators::DT
Definition:
GeomDetEnumerators.h:11
GeomDetEnumerators::barrel
Definition:
GeomDetEnumerators.h:10
Generated for CMSSW Reference Manual by
1.8.5