#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 |
int | binIndexN (const std::vector< float > &fX) const |
const Definitions & | definitions () const |
void | init () |
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 |
Static Public Attributes | |
static const int | MAX_SIZE_DIMENSIONALITY = 3 |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::shared_ptr< JetCorrectorParametersHelper > | helper |
is this a valid set? More... | |
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 25 of file JetCorrectorParameters.h.
|
inline |
Definition at line 95 of file JetCorrectorParameters.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and valid_.
JetCorrectorParameters::JetCorrectorParameters | ( | const std::string & | fFile, |
const std::string & | fSection = "" |
||
) |
Definition at line 119 of file JetCorrectorParameters.cc.
References trackerTree::check(), definitions(), JetCorrectorParameters::Definitions::formula(), insertMaterial::getSection(), mps_fire::i, init(), input, mps_splice::line, MAX_SIZE_DIMENSIONALITY, mDefinitions, mRecords, JetCorrectorParameters::Definitions::nBinVar(), JetCorrectorParameters::Record::nParameters(), record(), trackingPlots::section, AlCaHLTBitMon_QueryRunRegistry::string, tmp, valid_, JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
|
inline |
Definition at line 97 of file JetCorrectorParameters.h.
References valid_.
std::vector< float > JetCorrectorParameters::binCenters | ( | unsigned | fVar | ) | const |
Definition at line 297 of file JetCorrectorParameters.cc.
References mps_fire::i, record(), mps_fire::result, size(), and JetCorrectorParameters::Record::xMiddle().
Referenced by size().
int JetCorrectorParameters::binIndex | ( | const std::vector< float > & | fX | ) | const |
Definition at line 191 of file JetCorrectorParameters.cc.
References mps_fire::i, mDefinitions, N, JetCorrectorParameters::Definitions::nBinVar(), record(), mps_fire::result, size(), tmp, JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
Referenced by SimpleJetCorrector::correction(), JetResolution::parameterEtaEval(), size(), and SimpleJetCorrectionUncertainty::uncertainty().
int JetCorrectorParameters::binIndexN | ( | const std::vector< float > & | fX | ) | const |
Definition at line 219 of file JetCorrectorParameters.cc.
References mRecords.
Referenced by SimpleJetCorrector::correction(), and size().
|
inline |
Definition at line 102 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().
void JetCorrectorParameters::init | ( | void | ) |
Definition at line 182 of file JetCorrectorParameters.cc.
References mDefinitions, and mRecords.
Referenced by isValid(), and JetCorrectorParameters().
|
inline |
Definition at line 111 of file JetCorrectorParameters.h.
References init(), and valid_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
int JetCorrectorParameters::neighbourBin | ( | unsigned | fIndex, |
unsigned | fVar, | ||
bool | fNext | ||
) | const |
Definition at line 233 of file JetCorrectorParameters.cc.
References mps_fire::i, mDefinitions, N, JetCorrectorParameters::Definitions::nBinVar(), record(), mps_fire::result, size(), tmp, JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
Referenced by SimpleJetCorrector::correction(), and size().
void JetCorrectorParameters::printFile | ( | const std::string & | fFileName | ) | const |
Definition at line 345 of file JetCorrectorParameters.cc.
References JetCorrectorParameters::Definitions::binVar(), definitions(), EcalElecEmulTccOnlyExample_cfg::formula, JetCorrectorParameters::Definitions::formula(), mps_fire::i, JetCorrectorParameters::Definitions::level(), JetCorrectorParameters::Definitions::nBinVar(), JetCorrectorParameters::Record::nParameters(), JetCorrectorParameters::Definitions::nParVar(), JetCorrectorParameters::Record::parameter(), JetCorrectorParameters::Definitions::parVar(), record(), size(), AlCaHLTBitMon_QueryRunRegistry::string, JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
Referenced by JetCorrectorDBReader::analyze(), and size().
void JetCorrectorParameters::printScreen | ( | ) | const |
Definition at line 307 of file JetCorrectorParameters.cc.
References JetCorrectorParameters::Definitions::binVar(), gather_cfg::cout, definitions(), JetCorrectorParameters::Definitions::formula(), mps_fire::i, 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(), and size().
|
inline |
Definition at line 101 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 |
|
inline |
Definition at line 103 of file JetCorrectorParameters.h.
References binCenters(), binIndex(), binIndexN(), mRecords, neighbourBin(), printFile(), printScreen(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), binCenters(), binIndex(), SimpleJetCorrector::correctionBin(), CutsIsolatorWithCorrection::depSum(), neighbourBin(), JetResolution::parameterEtaEval(), printFile(), printScreen(), size(), and SimpleJetCorrectionUncertainty::uncertaintyBin().
unsigned JetCorrectorParameters::size | ( | unsigned | fVar | ) | const |
Definition at line 275 of file JetCorrectorParameters.cc.
References mps_fire::i, mDefinitions, JetCorrectorParameters::Definitions::nBinVar(), record(), mps_fire::result, size(), JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
friend |
Definition at line 124 of file JetCorrectorParameters.h.
|
friend |
Definition at line 124 of file JetCorrectorParameters.h.
|
private |
is this a valid set?
Definition at line 122 of file JetCorrectorParameters.h.
|
static |
Definition at line 114 of file JetCorrectorParameters.h.
Referenced by JetCorrectorParametersHelper::binIndexN(), JetCorrectorParametersHelper::init(), JetCorrectorParametersHelper::initTransientMaps(), and JetCorrectorParameters().
|
private |
Definition at line 118 of file JetCorrectorParameters.h.
Referenced by binIndex(), definitions(), init(), JetCorrectorParameters(), neighbourBin(), and size().
|
private |
Definition at line 119 of file JetCorrectorParameters.h.
Referenced by binIndexN(), init(), JetCorrectorParameters(), record(), and size().
|
private |
Definition at line 120 of file JetCorrectorParameters.h.
Referenced by isValid(), and JetCorrectorParameters().