#include <MEtXYcorrectParameters.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 |
MEtXYcorrectParameters () | |
MEtXYcorrectParameters (const std::string &fFile, const std::string &fSection="") | |
MEtXYcorrectParameters (const MEtXYcorrectParameters::Definitions &fDefinitions, const std::vector< MEtXYcorrectParameters::Record > &fRecords) | |
int | neighbourBin (unsigned fIndex, unsigned fVar, bool fNext) const |
void | printFile (const std::string &fFileName) const |
void | printFile (const std::string &fFileName, const std::string &Section) const |
void | printScreen () const |
void | printScreen (const std::string &Section) 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 | |
MEtXYcorrectParameters::Definitions | mDefinitions |
std::vector< MEtXYcorrectParameters::Record > | mRecords |
bool | valid_ |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 14 of file MEtXYcorrectParameters.h.
|
inline |
Definition at line 81 of file MEtXYcorrectParameters.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and valid_.
MEtXYcorrectParameters::MEtXYcorrectParameters | ( | const std::string & | fFile, |
const std::string & | fSection = "" |
||
) |
Definition at line 105 of file MEtXYcorrectParameters.cc.
References RPCNoise_example::check, definitions(), MEtXYcorrectParameters::Definitions::formula(), mps_fire::i, input, mps_splice::line, mDefinitions, mRecords, MEtXYcorrectParameters::Definitions::nBinVar(), MEtXYcorrectParameters::Record::nParameters(), record(), trackingPlots::section, AlCaHLTBitMon_QueryRunRegistry::string, createJobs::tmp, valid_, MEtXYcorrectParameters::Record::xMax(), and MEtXYcorrectParameters::Record::xMin().
|
inline |
Definition at line 83 of file MEtXYcorrectParameters.h.
References valid_.
std::vector<float> MEtXYcorrectParameters::binCenters | ( | unsigned | fVar | ) | const |
Referenced by size().
int MEtXYcorrectParameters::binIndex | ( | const std::vector< float > & | fX | ) | const |
Referenced by size().
|
inline |
Definition at line 90 of file MEtXYcorrectParameters.h.
References mDefinitions.
Referenced by MEtXYcorrectParameters(), printFile(), printScreen(), and MultShiftMETcorrDBInputProducer::produce().
|
inline |
Definition at line 100 of file MEtXYcorrectParameters.h.
References valid_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
int MEtXYcorrectParameters::neighbourBin | ( | unsigned | fIndex, |
unsigned | fVar, | ||
bool | fNext | ||
) | const |
Referenced by size().
void MEtXYcorrectParameters::printFile | ( | const std::string & | fFileName | ) | const |
Definition at line 215 of file MEtXYcorrectParameters.cc.
References MEtXYcorrectParameters::Definitions::binVar(), definitions(), MEtXYcorrectParameters::Definitions::formula(), pfMETCorrectionType0_cfi::formula, mps_fire::i, dqmiolumiharvest::j, MEtXYcorrectParameters::Definitions::nBinVar(), MEtXYcorrectParameters::Record::nParameters(), MEtXYcorrectParameters::Definitions::nParVar(), MEtXYcorrectParameters::Record::parameter(), MEtXYcorrectParameters::Definitions::parVar(), record(), size(), MEtXYcorrectParameters::Record::xMax(), and MEtXYcorrectParameters::Record::xMin().
Referenced by size().
void MEtXYcorrectParameters::printFile | ( | const std::string & | fFileName, |
const std::string & | Section | ||
) | const |
Definition at line 238 of file MEtXYcorrectParameters.cc.
References MEtXYcorrectParameters::Definitions::binVar(), definitions(), MEtXYcorrectParameters::Definitions::formula(), mps_fire::i, dqmiolumiharvest::j, MEtXYcorrectParameters::Record::MetAxis(), MEtXYcorrectParameters::Definitions::nBinVar(), MEtXYcorrectParameters::Record::nParameters(), MEtXYcorrectParameters::Definitions::nParVar(), MEtXYcorrectParameters::Record::parameter(), MEtXYcorrectParameters::Definitions::parVar(), MEtXYcorrectParameters::Definitions::PtclType(), record(), size(), MEtXYcorrectParameters::Record::xMax(), and MEtXYcorrectParameters::Record::xMin().
void MEtXYcorrectParameters::printScreen | ( | ) | const |
Definition at line 151 of file MEtXYcorrectParameters.cc.
References MEtXYcorrectParameters::Definitions::binVar(), gather_cfg::cout, definitions(), MEtXYcorrectParameters::Definitions::formula(), mps_fire::i, dqmiolumiharvest::j, MEtXYcorrectParameters::Definitions::nBinVar(), MEtXYcorrectParameters::Record::nParameters(), MEtXYcorrectParameters::Definitions::nParVar(), MEtXYcorrectParameters::Record::parameter(), MEtXYcorrectParameters::Definitions::parVar(), record(), size(), MEtXYcorrectParameters::Record::xMax(), and MEtXYcorrectParameters::Record::xMin().
Referenced by size().
void MEtXYcorrectParameters::printScreen | ( | const std::string & | Section | ) | const |
Definition at line 179 of file MEtXYcorrectParameters.cc.
References MEtXYcorrectParameters::Definitions::binVar(), gather_cfg::cout, definitions(), MEtXYcorrectParameters::Definitions::formula(), mps_fire::i, dqmiolumiharvest::j, MEtXYcorrectParameters::Record::MetAxis(), MEtXYcorrectParameters::Definitions::nBinVar(), MEtXYcorrectParameters::Record::nParameters(), MEtXYcorrectParameters::Definitions::nParVar(), MEtXYcorrectParameters::Record::parameter(), MEtXYcorrectParameters::Definitions::parVar(), record(), size(), MEtXYcorrectParameters::Record::xMax(), and MEtXYcorrectParameters::Record::xMin().
|
inline |
Definition at line 89 of file MEtXYcorrectParameters.h.
References mRecords.
Referenced by MEtXYcorrectParameters(), printFile(), printScreen(), and MultShiftMETcorrDBInputProducer::produce().
|
private |
is this a valid set?
|
inline |
Definition at line 91 of file MEtXYcorrectParameters.h.
References binCenters(), binIndex(), mRecords, neighbourBin(), printFile(), printScreen(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), printFile(), and printScreen().
unsigned MEtXYcorrectParameters::size | ( | unsigned | fVar | ) | const |
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
friend |
Definition at line 108 of file MEtXYcorrectParameters.h.
|
friend |
Definition at line 108 of file MEtXYcorrectParameters.h.
|
private |
Definition at line 104 of file MEtXYcorrectParameters.h.
Referenced by definitions(), and MEtXYcorrectParameters().
|
private |
Definition at line 105 of file MEtXYcorrectParameters.h.
Referenced by MEtXYcorrectParameters(), record(), and size().
|
private |
Definition at line 106 of file MEtXYcorrectParameters.h.
Referenced by isValid(), and MEtXYcorrectParameters().