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
CondFormats
CSCObjects
src
CSCPedestals.cc
Go to the documentation of this file.
1
#include "
CondFormats/CSCObjects/interface/CSCPedestals.h
"
2
#include "
DataFormats/MuonDetId/interface/CSCIndexer.h
"
3
#include "
FWCore/Utilities/interface/Exception.h
"
4
5
CSCPedestals::CSCPedestals
() {}
6
CSCPedestals::~CSCPedestals
() {}
7
8
const
CSCPedestals::Item
&
CSCPedestals::item
(
const
CSCDetId
& cscId,
int
strip
)
const
{
9
CSCIndexer
indexer;
10
PedestalMap::const_iterator mapItr =
pedestals
.find(indexer.
dbIndex
(cscId,
strip
));
11
if
(mapItr ==
pedestals
.end()) {
12
throw
cms::Exception
(
"CSCPedestals"
) <<
"Cannot find CSC conditions for chamber "
<< cscId;
13
}
14
return
mapItr->second.at(
strip
- 1);
15
}
CSCIndexer.h
Exception
Definition:
hltDiff.cc:245
CSCDetId
Definition:
CSCDetId.h:26
CSCPedestals::CSCPedestals
CSCPedestals()
Definition:
CSCPedestals.cc:5
CSCPedestals.h
CSCPedestals::item
const Item & item(const CSCDetId &cscId, int strip) const
Definition:
CSCPedestals.cc:8
CSCPedestals::pedestals
PedestalMap pedestals
Definition:
CSCPedestals.h:25
CSCPedestals::Item
Definition:
CSCPedestals.h:15
CSCIndexer::dbIndex
int dbIndex(const CSCDetId &id, int &channel)
Definition:
CSCIndexer.cc:235
CSCPedestals::~CSCPedestals
~CSCPedestals()
Definition:
CSCPedestals.cc:6
CSCIndexer
Definition:
CSCIndexer.h:44
Exception.h
digitizers_cfi.strip
strip
Definition:
digitizers_cfi.py:19
Generated for CMSSW Reference Manual by
1.8.14