#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 76 of file MEtXYcorrectParameters.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and valid_.
MEtXYcorrectParameters::MEtXYcorrectParameters | ( | const std::string & | fFile, |
const std::string & | fSection = "" |
||
) |
Definition at line 114 of file MEtXYcorrectParameters.cc.
References trackerTree::check(), definitions(), MEtXYcorrectParameters::Definitions::formula(), insertMaterial::getSection(), mps_fire::i, input, mps_splice::line, mDefinitions, mRecords, MEtXYcorrectParameters::Definitions::nBinVar(), MEtXYcorrectParameters::Record::nParameters(), record(), trackingPlots::section, AlCaHLTBitMon_QueryRunRegistry::string, tmp, valid_, MEtXYcorrectParameters::Record::xMax(), and MEtXYcorrectParameters::Record::xMin().
|
inline |
Definition at line 78 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 83 of file MEtXYcorrectParameters.h.
References mDefinitions.
Referenced by MEtXYcorrectParameters(), printFile(), printScreen(), and MultShiftMETcorrDBInputProducer::produce().
|
inline |
Definition at line 93 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 231 of file MEtXYcorrectParameters.cc.
References MEtXYcorrectParameters::Definitions::binVar(), definitions(), EcalElecEmulTccOnlyExample_cfg::formula, MEtXYcorrectParameters::Definitions::formula(), mps_fire::i, 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 255 of file MEtXYcorrectParameters.cc.
References MEtXYcorrectParameters::Definitions::binVar(), definitions(), MEtXYcorrectParameters::Definitions::formula(), mps_fire::i, MEtXYcorrectParameters::Record::MetAxis(), MEtXYcorrectParameters::Definitions::nBinVar(), MEtXYcorrectParameters::Record::nParameters(), MEtXYcorrectParameters::Definitions::nParVar(), MEtXYcorrectParameters::Record::parameter(), MEtXYcorrectParameters::Definitions::parVar(), MEtXYcorrectParameters::Definitions::PtclType(), record(), size(), AlCaHLTBitMon_QueryRunRegistry::string, MEtXYcorrectParameters::Record::xMax(), and MEtXYcorrectParameters::Record::xMin().
void MEtXYcorrectParameters::printScreen | ( | ) | const |
Definition at line 165 of file MEtXYcorrectParameters.cc.
References MEtXYcorrectParameters::Definitions::binVar(), gather_cfg::cout, definitions(), MEtXYcorrectParameters::Definitions::formula(), mps_fire::i, 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 195 of file MEtXYcorrectParameters.cc.
References MEtXYcorrectParameters::Definitions::binVar(), gather_cfg::cout, definitions(), MEtXYcorrectParameters::Definitions::formula(), mps_fire::i, 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 82 of file MEtXYcorrectParameters.h.
References mRecords.
Referenced by MEtXYcorrectParameters(), printFile(), printScreen(), and MultShiftMETcorrDBInputProducer::produce().
|
private |
is this a valid set?
|
inline |
Definition at line 84 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 101 of file MEtXYcorrectParameters.h.
|
friend |
Definition at line 101 of file MEtXYcorrectParameters.h.
|
private |
Definition at line 97 of file MEtXYcorrectParameters.h.
Referenced by definitions(), and MEtXYcorrectParameters().
|
private |
Definition at line 98 of file MEtXYcorrectParameters.h.
Referenced by MEtXYcorrectParameters(), record(), and size().
|
private |
Definition at line 99 of file MEtXYcorrectParameters.h.
Referenced by isValid(), and MEtXYcorrectParameters().