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
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
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
CondFormats
HcalObjects
interface
HcalDetIdTransform.h
Go to the documentation of this file.
1
#ifndef CondFormats_HcalObjects_HcalDetIdTransform_h
2
#define CondFormats_HcalObjects_HcalDetIdTransform_h
3
4
class
HcalDetId
;
5
6
namespace
HcalDetIdTransform
{
7
// When you add more transforms, add codes for them at the end
8
// of the enum, just before "N_TRANSFORMS". Don't forget to adjust
9
// the "transform" function accordingly.
10
enum
{
11
RAWID
= 0,
// Raw detector id
12
IETA
,
// ieta() + shift
13
IETAABS
,
// ietaAbs()
14
SUBDET
,
// subdetId()
15
IETADEPTH
,
// maps ieta() and depth() into a unique number
16
IETAABSDEPTH
,
// maps ietaAbs() and depth() into a unique number
17
N_TRANSFORMS
18
};
19
20
// Transform the detector id
21
unsigned
transform
(
const
HcalDetId
&
id
,
unsigned
transformCode);
22
23
// The following function will throw an exception
24
// if the transform code is invalid
25
void
validateCode
(
unsigned
transformCode);
26
}
// namespace HcalDetIdTransform
27
28
#endif // CondFormats_HcalObjects_HcalDetIdTransform_h
HcalDetIdTransform::IETAABS
Definition:
HcalDetIdTransform.h:13
HcalDetIdTransform::N_TRANSFORMS
Definition:
HcalDetIdTransform.h:17
HcalDetIdTransform::IETADEPTH
Definition:
HcalDetIdTransform.h:15
HcalDetIdTransform::transform
unsigned transform(const HcalDetId &id, unsigned transformCode)
Definition:
HcalDetIdTransform.cc:7
HcalDetIdTransform::IETA
Definition:
HcalDetIdTransform.h:12
HcalDetId
Definition:
HcalDetId.h:12
HcalDetIdTransform::RAWID
Definition:
HcalDetIdTransform.h:11
HcalDetIdTransform
Definition:
HcalDetIdTransform.h:6
HcalDetIdTransform::SUBDET
Definition:
HcalDetIdTransform.h:14
HcalDetIdTransform::IETAABSDEPTH
Definition:
HcalDetIdTransform.h:16
HcalDetIdTransform::validateCode
void validateCode(unsigned transformCode)
Definition:
HcalDetIdTransform.cc:50
Generated for CMSSW Reference Manual by
1.8.16