#include <METCorrectorParameters.h>
Classes | |
class | Definitions |
class | Record |
Public Member Functions | |
std::vector< float > | binCenters (unsigned fVar) const |
int | binIndex (const std::vector< float > &fX) const |
const Definitions & | definitions () const |
bool | isValid () const |
METCorrectorParameters () | |
METCorrectorParameters (const std::string &fFile, const std::string &fSection="") | |
METCorrectorParameters (const METCorrectorParameters::Definitions &fDefinitions, const std::vector< METCorrectorParameters::Record > &fRecords) | |
int | neighbourBin (unsigned fIndex, unsigned fVar, bool fNext) const |
void | printFile (const std::string &fFileName) const |
void | printScreen () const |
const Record & | record (unsigned fBin) const |
unsigned | size () const |
unsigned | size (unsigned fVar) const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
is this a valid set? More... | |
Private Attributes | |
METCorrectorParameters::Definitions | mDefinitions |
std::vector< METCorrectorParameters::Record > | mRecords |
bool | valid_ |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 14 of file METCorrectorParameters.h.
|
inline |
Definition at line 78 of file METCorrectorParameters.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and valid_.
METCorrectorParameters::METCorrectorParameters | ( | const std::string & | fFile, |
const std::string & | fSection = "" |
||
) |
Definition at line 103 of file METCorrectorParameters.cc.
References RPCNoise_example::check, definitions(), METCorrectorParameters::Definitions::formula(), mps_fire::i, input, mps_splice::line, mDefinitions, mRecords, METCorrectorParameters::Definitions::nBinVar(), METCorrectorParameters::Record::nParameters(), record(), trackingPlots::section, AlCaHLTBitMon_QueryRunRegistry::string, createJobs::tmp, valid_, METCorrectorParameters::Record::xMax(), and METCorrectorParameters::Record::xMin().
|
inline |
Definition at line 80 of file METCorrectorParameters.h.
References valid_.
std::vector<float> METCorrectorParameters::binCenters | ( | unsigned | fVar | ) | const |
Referenced by size().
int METCorrectorParameters::binIndex | ( | const std::vector< float > & | fX | ) | const |
Referenced by size().
|
inline |
Definition at line 87 of file METCorrectorParameters.h.
References mDefinitions.
Referenced by METCorrectorParameters(), printFile(), and printScreen().
|
inline |
Definition at line 95 of file METCorrectorParameters.h.
References valid_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
int METCorrectorParameters::neighbourBin | ( | unsigned | fIndex, |
unsigned | fVar, | ||
bool | fNext | ||
) | const |
Referenced by size().
void METCorrectorParameters::printFile | ( | const std::string & | fFileName | ) | const |
Definition at line 291 of file METCorrectorParameters.cc.
References METCorrectorParameters::Definitions::binVar(), definitions(), METCorrectorParameters::Definitions::formula(), pfMETCorrectionType0_cfi::formula, mps_fire::i, dqmiolumiharvest::j, METCorrectorParameters::Definitions::nBinVar(), METCorrectorParameters::Record::nParameters(), METCorrectorParameters::Definitions::nParVar(), METCorrectorParameters::Record::parameter(), METCorrectorParameters::Definitions::parVar(), record(), size(), METCorrectorParameters::Record::xMax(), and METCorrectorParameters::Record::xMin().
Referenced by size().
void METCorrectorParameters::printScreen | ( | ) | const |
Definition at line 260 of file METCorrectorParameters.cc.
References METCorrectorParameters::Definitions::binVar(), gather_cfg::cout, definitions(), METCorrectorParameters::Definitions::formula(), mps_fire::i, dqmiolumiharvest::j, METCorrectorParameters::Definitions::nBinVar(), METCorrectorParameters::Record::nParameters(), METCorrectorParameters::Definitions::nParVar(), METCorrectorParameters::Record::parameter(), METCorrectorParameters::Definitions::parVar(), record(), size(), METCorrectorParameters::Record::xMax(), and METCorrectorParameters::Record::xMin().
Referenced by size().
|
inline |
Definition at line 86 of file METCorrectorParameters.h.
References mRecords.
Referenced by METCorrectorParameters(), printFile(), and printScreen().
|
private |
is this a valid set?
|
inline |
Definition at line 88 of file METCorrectorParameters.h.
References binCenters(), binIndex(), mRecords, neighbourBin(), printFile(), printScreen(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), printFile(), and printScreen().
unsigned METCorrectorParameters::size | ( | unsigned | fVar | ) | const |
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
friend |
Definition at line 103 of file METCorrectorParameters.h.
|
friend |
Definition at line 103 of file METCorrectorParameters.h.
|
private |
Definition at line 99 of file METCorrectorParameters.h.
Referenced by definitions(), and METCorrectorParameters().
|
private |
Definition at line 100 of file METCorrectorParameters.h.
Referenced by METCorrectorParameters(), record(), and size().
|
private |
Definition at line 101 of file METCorrectorParameters.h.
Referenced by isValid(), and METCorrectorParameters().