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