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
CSCDBL1TPParametersExtended.cc
Go to the documentation of this file.
1
#include "
CondFormats/CSCObjects/interface/CSCDBL1TPParametersExtended.h
"
2
3
#include <algorithm>
4
5
CSCDBL1TPParametersExtended::CSCDBL1TPParametersExtended
() {
6
paramsInt_
.resize(
paramNamesInt_
.size());
7
paramsBool_
.resize(
paramNamesBool_
.size());
8
}
9
10
CSCDBL1TPParametersExtended::~CSCDBL1TPParametersExtended
() {}
11
12
int
CSCDBL1TPParametersExtended::getValueInt
(
const
std::string
&
s
)
const
{
13
const
int
index
=
std::find
(
paramNamesInt_
.begin(),
paramNamesInt_
.end(),
s
) -
paramNamesInt_
.begin();
14
return
paramsInt_
[
index
];
15
}
16
17
bool
CSCDBL1TPParametersExtended::getValueBool
(
const
std::string
&
s
)
const
{
18
const
int
index
=
std::find
(
paramNamesBool_
.begin(),
paramNamesBool_
.end(),
s
) -
paramNamesBool_
.begin();
19
return
paramsBool_
[
index
];
20
}
21
22
void
CSCDBL1TPParametersExtended::setValue
(
const
std::string
&
s
,
int
v
) {
23
const
int
index
=
std::find
(
paramNamesInt_
.begin(),
paramNamesInt_
.end(),
s
) -
paramNamesInt_
.begin();
24
paramsInt_
[
index
] =
v
;
25
}
26
27
void
CSCDBL1TPParametersExtended::setValue
(
const
std::string
&
s
,
bool
v
) {
28
const
int
index
=
std::find
(
paramNamesBool_
.begin(),
paramNamesBool_
.end(),
s
) -
paramNamesBool_
.begin();
29
paramsBool_
[
index
] =
v
;
30
}
CSCDBL1TPParametersExtended::paramsBool_
std::vector< int > paramsBool_
Definition:
CSCDBL1TPParametersExtended.h:34
CSCDBL1TPParametersExtended::paramNamesBool_
const std::vector< std::string > paramNamesBool_
Definition:
CSCDBL1TPParametersExtended.h:36
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
CSCDBL1TPParametersExtended::paramNamesInt_
const std::vector< std::string > paramNamesInt_
Definition:
CSCDBL1TPParametersExtended.h:56
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition:
FindCaloHit.cc:19
CSCDBL1TPParametersExtended::getValueInt
int getValueInt(const std::string &) const
Definition:
CSCDBL1TPParametersExtended.cc:12
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CSCDBL1TPParametersExtended::setValue
void setValue(const std::string &, int)
Definition:
CSCDBL1TPParametersExtended.cc:22
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:72
CSCDBL1TPParametersExtended::getValueBool
bool getValueBool(const std::string &) const
Definition:
CSCDBL1TPParametersExtended.cc:17
CSCDBL1TPParametersExtended.h
CSCDBL1TPParametersExtended::CSCDBL1TPParametersExtended
CSCDBL1TPParametersExtended()
Definition:
CSCDBL1TPParametersExtended.cc:5
CSCDBL1TPParametersExtended::~CSCDBL1TPParametersExtended
~CSCDBL1TPParametersExtended()
Definition:
CSCDBL1TPParametersExtended.cc:10
CSCDBL1TPParametersExtended::paramsInt_
std::vector< int > paramsInt_
Definition:
CSCDBL1TPParametersExtended.h:33
Generated for CMSSW Reference Manual by
1.8.14