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
DataFormats
Alignment
src
TkLasBeam.cc
Go to the documentation of this file.
1
#include "
DataFormats/Alignment/interface/TkLasBeam.h
"
2
#include "
FWCore/Utilities/interface/Exception.h
"
3
4
bool
TkLasBeam::isTecInternal
(
int
side)
const
{
5
switch
(side) {
6
case
0:
7
return
beamId
% 1000 / 100 < 2;
8
case
-1:
9
return
beamId
% 1000 / 100 == 1;
10
case
1:
11
return
beamId
% 1000 / 100 == 0;
12
}
13
14
throw
cms::Exception
(
"[TkLasBeam::isTecInternal]"
) <<
" ** ERROR: side="
<< side <<
" undefined, must be -1, 0 or 1."
;
15
return
false
;
// unreached
16
}
TkLasBeam::isTecInternal
bool isTecInternal(int side=0) const
true if this is a TEC internal beam (from 10^2 digit of beamId). side parameter: -1 = ask if TEC-,...
Definition:
TkLasBeam.cc:4
TkLasBeam::beamId
unsigned int beamId
Definition:
TkLasBeam.h:50
TkLasBeam.h
Exception
Definition:
hltDiff.cc:245
Exception.h
Generated for CMSSW Reference Manual by
1.8.16