#include <JetCorrectorParameters.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 |
JetCorrectorParameters () | |
JetCorrectorParameters (const std::string &fFile, const std::string &fSection="") | |
JetCorrectorParameters (const JetCorrectorParameters::Definitions &fDefinitions, const std::vector< JetCorrectorParameters::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 | |
JetCorrectorParameters::Definitions | mDefinitions |
std::vector < JetCorrectorParameters::Record > | mRecords |
bool | valid_ |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 19 of file JetCorrectorParameters.h.
|
inline |
JetCorrectorParameters::JetCorrectorParameters | ( | const std::string & | fFile, |
const std::string & | fSection = "" |
||
) |
Definition at line 109 of file JetCorrectorParameters.cc.
References trackerTree::check(), definitions(), JetCorrectorParameters::Definitions::formula(), insertMaterial::getSection(), i, input, geometryCSVtoXML::line, mDefinitions, mRecords, JetCorrectorParameters::Definitions::nBinVar(), JetCorrectorParameters::Record::nParameters(), record(), AlCaHLTBitMon_QueryRunRegistry::string, tmp, valid_, JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
|
inline |
Definition at line 83 of file JetCorrectorParameters.h.
References valid_.
std::vector< float > JetCorrectorParameters::binCenters | ( | unsigned | fVar | ) | const |
Definition at line 252 of file JetCorrectorParameters.cc.
References i, record(), mps_fire::result, and size().
int JetCorrectorParameters::binIndex | ( | const std::vector< float > & | fX | ) | const |
Definition at line 160 of file JetCorrectorParameters.cc.
References i, j, mDefinitions, N, JetCorrectorParameters::Definitions::nBinVar(), record(), mps_fire::result, size(), tmp, JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
Referenced by SimpleJetCorrector::correction(), JetResolution::parameterEtaEval(), and SimpleJetCorrectionUncertainty::uncertainty().
|
inline |
Definition at line 88 of file JetCorrectorParameters.h.
References mDefinitions.
Referenced by SimpleJetCorrector::correction(), SimpleJetCorrector::correctionBin(), SimpleJetCorrector::findInvertVar(), JetCorrectionUncertainty::getUncertainty(), JetResolution::initialize(), JetCorrectorParameters(), L1FastjetCorrector::L1FastjetCorrector(), L1JPTOffsetCorrector::L1JPTOffsetCorrector(), L1OffsetCorrector::L1OffsetCorrector(), LXXXCorrector::LXXXCorrector(), JetResolution::parameterEtaEval(), printFile(), printScreen(), and SimpleJetCorrector::SimpleJetCorrector().
|
inline |
Definition at line 96 of file JetCorrectorParameters.h.
References valid_.
Referenced by core.AutoHandle.AutoHandle::ReallyLoad().
int JetCorrectorParameters::neighbourBin | ( | unsigned | fIndex, |
unsigned | fVar, | ||
bool | fNext | ||
) | const |
Definition at line 188 of file JetCorrectorParameters.cc.
References i, j, mDefinitions, N, JetCorrectorParameters::Definitions::nBinVar(), record(), mps_fire::result, size(), and tmp.
Referenced by SimpleJetCorrector::correction().
void JetCorrectorParameters::printFile | ( | const std::string & | fFileName | ) | const |
Definition at line 300 of file JetCorrectorParameters.cc.
References JetCorrectorParameters::Definitions::binVar(), definitions(), EcalElecEmulTccOnlyExample_cfg::formula, JetCorrectorParameters::Definitions::formula(), i, j, JetCorrectorParameters::Definitions::level(), JetCorrectorParameters::Definitions::nBinVar(), JetCorrectorParameters::Record::nParameters(), JetCorrectorParameters::Definitions::nParVar(), JetCorrectorParameters::Record::parameter(), JetCorrectorParameters::Definitions::parVar(), record(), size(), JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
Referenced by JetCorrectorDBReader::analyze().
void JetCorrectorParameters::printScreen | ( | ) | const |
Definition at line 262 of file JetCorrectorParameters.cc.
References JetCorrectorParameters::Definitions::binVar(), gather_cfg::cout, definitions(), JetCorrectorParameters::Definitions::formula(), i, j, JetCorrectorParameters::Definitions::level(), JetCorrectorParameters::Definitions::nBinVar(), JetCorrectorParameters::Record::nParameters(), JetCorrectorParameters::Definitions::nParVar(), JetCorrectorParameters::Record::parameter(), JetCorrectorParameters::Definitions::parVar(), record(), size(), JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
Referenced by JetCorrectorDBReader::analyze().
|
inline |
Definition at line 87 of file JetCorrectorParameters.h.
References mRecords.
Referenced by binCenters(), binIndex(), SimpleJetCorrector::correction(), SimpleJetCorrector::correctionBin(), JetCorrectorParameters(), neighbourBin(), JetResolution::parameterEtaEval(), printFile(), printScreen(), size(), and SimpleJetCorrectionUncertainty::uncertaintyBin().
|
private |
is this a valid set?
|
inline |
Definition at line 89 of file JetCorrectorParameters.h.
References mRecords.
Referenced by binCenters(), binIndex(), SimpleJetCorrector::correctionBin(), CutsIsolatorWithCorrection::depSum(), neighbourBin(), JetResolution::parameterEtaEval(), printFile(), printScreen(), size(), and SimpleJetCorrectionUncertainty::uncertaintyBin().
unsigned JetCorrectorParameters::size | ( | unsigned | fVar | ) | const |
Definition at line 230 of file JetCorrectorParameters.cc.
References i, mDefinitions, JetCorrectorParameters::Definitions::nBinVar(), record(), mps_fire::result, size(), JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
|
friend |
Definition at line 104 of file JetCorrectorParameters.h.
|
friend |
Definition at line 104 of file JetCorrectorParameters.h.
|
private |
Definition at line 100 of file JetCorrectorParameters.h.
Referenced by binIndex(), definitions(), JetCorrectorParameters(), neighbourBin(), and size().
|
private |
Definition at line 101 of file JetCorrectorParameters.h.
Referenced by JetCorrectorParameters(), record(), and size().
|
private |
Definition at line 102 of file JetCorrectorParameters.h.
Referenced by isValid(), and JetCorrectorParameters().