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
CondFormats
CSCObjects
src
CSCTriggerElectronicsMapping.cc
Go to the documentation of this file.
1
#include "
CondFormats/CSCObjects/interface/CSCTriggerElectronicsMapping.h
"
2
#include <iostream>
3
#include <fstream>
4
#include <sstream>
5
6
CSCTriggerElectronicsMapping::CSCTriggerElectronicsMapping
() {}
7
8
CSCTriggerElectronicsMapping::~CSCTriggerElectronicsMapping
() {}
9
10
int
CSCTriggerElectronicsMapping::hwId
(
int
SPboardID,
int
FPGA,
int
cscid,
int
zero1,
int
zero2)
const
{
11
int
id
= 0;
12
13
id
= ((cscid) | (FPGA << 4) | (SPboardID << 8));
14
15
if
(
debugV
())
16
std::cout
<<
myName
() <<
": hardware id for SP Board Id "
<< SPboardID <<
" FPGA "
<< FPGA <<
" cscid "
<< cscid
17
<<
" = "
<<
id
<< std::endl;
18
return
id
;
19
}
CSCTriggerElectronicsMapping::~CSCTriggerElectronicsMapping
~CSCTriggerElectronicsMapping() override
Destructor.
Definition:
CSCTriggerElectronicsMapping.cc:8
CSCTriggerMapping::myName
const std::string & myName(void) const
Definition:
CSCTriggerMapping.h:126
CSCTriggerElectronicsMapping.h
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:29
CSCTriggerMapping::debugV
bool debugV(void) const
Definition:
CSCTriggerMapping.h:121
CSCTriggerElectronicsMapping::CSCTriggerElectronicsMapping
CSCTriggerElectronicsMapping()
Constructor.
Definition:
CSCTriggerElectronicsMapping.cc:6
CSCTriggerElectronicsMapping::hwId
int hwId(int SPboardId, int FPGA, int cscid, int zero1=0, int zero2=0) const override
Definition:
CSCTriggerElectronicsMapping.cc:10
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
Generated for CMSSW Reference Manual by
1.8.14