CMS 3D CMS Logo

CSCDBL1TPParametersExtended.cc
Go to the documentation of this file.
2 
4  paramsInt_.resize(paramNamesInt_.size());
5  paramsBool_.resize(paramNamesBool_.size());
6 }
7 
9 
11  const int index = find(paramNamesInt_.begin(), paramNamesInt_.end(), s) - paramNamesInt_.begin();
12  return paramsInt_[index];
13 }
14 
16  const int index = find(paramNamesBool_.begin(), paramNamesBool_.end(), s) - paramNamesBool_.begin();
17  return paramsBool_[index];
18 }
19 
21  const int index = find(paramNamesInt_.begin(), paramNamesInt_.end(), s) - paramNamesInt_.begin();
22  paramsInt_[index] = v;
23 }
24 
26  const int index = find(paramNamesBool_.begin(), paramNamesBool_.end(), s) - paramNamesBool_.begin();
27  paramsBool_[index] = v;
28 }
CSCDBL1TPParametersExtended::paramsInt_
std::vector< int > paramsInt_
Definition: CSCDBL1TPParametersExtended.h:33
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::setValue
void setValue(const std::string &, int)
Definition: CSCDBL1TPParametersExtended.cc:20
CSCDBL1TPParametersExtended.h
alignCSCRings.s
s
Definition: alignCSCRings.py:92
CSCDBL1TPParametersExtended::getValueBool
bool getValueBool(const std::string &) const
Definition: CSCDBL1TPParametersExtended.cc:15
CSCDBL1TPParametersExtended::paramNamesBool_
const std::vector< std::string > paramNamesBool_
Definition: CSCDBL1TPParametersExtended.h:36
CSCDBL1TPParametersExtended::getValueInt
int getValueInt(const std::string &) const
Definition: CSCDBL1TPParametersExtended.cc:10
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CSCDBL1TPParametersExtended::~CSCDBL1TPParametersExtended
~CSCDBL1TPParametersExtended()
Definition: CSCDBL1TPParametersExtended.cc:8
CSCDBL1TPParametersExtended::paramNamesInt_
const std::vector< std::string > paramNamesInt_
Definition: CSCDBL1TPParametersExtended.h:56
CSCDBL1TPParametersExtended::CSCDBL1TPParametersExtended
CSCDBL1TPParametersExtended()
Definition: CSCDBL1TPParametersExtended.cc:3
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
CSCDBL1TPParametersExtended::paramsBool_
std::vector< int > paramsBool_
Definition: CSCDBL1TPParametersExtended.h:34