#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 Attributes | |
JetCorrectorParameters::Definitions | mDefinitions |
std::vector < JetCorrectorParameters::Record > | mRecords |
bool | valid_ |
Definition at line 16 of file JetCorrectorParameters.h.
|
inline |
JetCorrectorParameters::JetCorrectorParameters | ( | const std::string & | fFile, |
const std::string & | fSection = "" |
||
) |
Definition at line 109 of file JetCorrectorParameters.cc.
References CastorDataFrameFilter_impl::check(), definitions(), JetCorrectorParameters::Definitions::formula(), insertMaterial::getSection(), i, input, geometryCSVtoXML::line, mDefinitions, mRecords, JetCorrectorParameters::Definitions::nBinVar(), JetCorrectorParameters::Record::nParameters(), record(), python.multivaluedict::sort(), AlCaHLTBitMon_QueryRunRegistry::string, tmp, valid_, JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
|
inline |
Definition at line 76 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(), query::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(), query::result, size(), tmp, JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
Referenced by SimpleJetCorrector::correction(), JetResolution::parameterEtaEval(), and SimpleJetCorrectionUncertainty::uncertainty().
|
inline |
Definition at line 81 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 |
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(), query::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(), JetCorrectorParameters::Definitions::formula(), EcalElecEmulExample_cfg::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 80 of file JetCorrectorParameters.h.
References mRecords.
Referenced by binCenters(), binIndex(), SimpleJetCorrector::correction(), SimpleJetCorrector::correctionBin(), JetCorrectorParameters(), neighbourBin(), JetResolution::parameterEtaEval(), printFile(), printScreen(), size(), and SimpleJetCorrectionUncertainty::uncertaintyBin().
|
inline |
Definition at line 82 of file JetCorrectorParameters.h.
References mRecords.
Referenced by binCenters(), binIndex(), SimpleJetCorrector::correctionBin(), 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(), query::result, size(), JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
|
private |
Definition at line 93 of file JetCorrectorParameters.h.
Referenced by binIndex(), definitions(), JetCorrectorParameters(), neighbourBin(), and size().
|
private |
Definition at line 94 of file JetCorrectorParameters.h.
Referenced by JetCorrectorParameters(), record(), and size().
|
private |
Definition at line 95 of file JetCorrectorParameters.h.
Referenced by isValid(), and JetCorrectorParameters().