Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
DataFormats
HcalDetId
src
HcalDetId.cc
Go to the documentation of this file.
1
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
2
#include <ostream>
3
#include <iostream>
4
5
const
HcalDetId
HcalDetId::Undefined
(
HcalEmpty
, 0, 0, 0);
6
7
std::ostream&
operator<<
(std::ostream&
s
,
const
HcalDetId
&
id
) {
8
switch
(
id
.subdet()) {
9
case
(
HcalBarrel
):
10
return
s
<<
"(HB "
<<
id
.ieta() <<
','
<<
id
.iphi() <<
','
<<
id
.depth() <<
')'
;
11
case
(
HcalEndcap
):
12
return
s
<<
"(HE "
<<
id
.ieta() <<
','
<<
id
.iphi() <<
','
<<
id
.depth() <<
')'
;
13
case
(
HcalForward
):
14
return
s
<<
"(HF "
<<
id
.ieta() <<
','
<<
id
.iphi() <<
','
<<
id
.depth() <<
')'
;
15
case
(
HcalOuter
):
16
return
s
<<
"(HO "
<<
id
.ieta() <<
','
<<
id
.iphi() <<
')'
;
17
case
(
HcalTriggerTower
):
18
return
s
<<
"(HT "
<<
id
.ieta() <<
','
<<
id
.iphi() <<
')'
;
19
default
:
20
return
s
<< std::hex <<
id
.rawId() <<
std::dec
;
21
}
22
}
HcalTriggerTower
Definition:
HcalAssistant.h:37
HcalDetId::Undefined
static const HcalDetId Undefined
Definition:
HcalDetId.h:273
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
HcalEndcap
Definition:
HcalAssistant.h:34
HcalDetId
Definition:
HcalDetId.h:12
HcalDetId.h
HcalBarrel
Definition:
HcalAssistant.h:33
HcalForward
Definition:
HcalAssistant.h:36
HcalOuter
Definition:
HcalAssistant.h:35
TauDecayModes.dec
dec
Definition:
TauDecayModes.py:142
operator<<
std::ostream & operator<<(std::ostream &s, const HcalDetId &id)
Definition:
HcalDetId.cc:7
HcalEmpty
Definition:
HcalAssistant.h:32
Generated for CMSSW Reference Manual by
1.8.14