#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 JetCorrectorParameters::Definitions &fDefinitions, const std::vector< JetCorrectorParameters::Record > &fRecords) | |
JetCorrectorParameters (const std::string &fFile, const std::string &fSection="") | |
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 |
JetCorrectorParameters::JetCorrectorParameters | ( | const std::string & | fFile, |
const std::string & | fSection = "" |
||
) |
Definition at line 113 of file JetCorrectorParameters.cc.
References RPCNoise_example::check, definitions(), 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, createJobs::tmp, valid_, JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
|
inline |
Definition at line 106 of file JetCorrectorParameters.h.
References valid_.
std::vector< float > JetCorrectorParameters::binCenters | ( | unsigned | fVar | ) | const |
Definition at line 267 of file JetCorrectorParameters.cc.
References mps_fire::i, record(), mps_fire::result, and size().
int JetCorrectorParameters::binIndex | ( | const std::vector< float > & | fX | ) | const |
Definition at line 176 of file JetCorrectorParameters.cc.
References mps_fire::i, dqmiolumiharvest::j, mDefinitions, N, JetCorrectorParameters::Definitions::nBinVar(), record(), mps_fire::result, size(), createJobs::tmp, JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
Referenced by SimpleJetCorrector::correction(), and SimpleJetCorrectionUncertainty::uncertainty().
int JetCorrectorParameters::binIndexN | ( | const std::vector< float > & | fX | ) | const |
Definition at line 200 of file JetCorrectorParameters.cc.
References mRecords.
Referenced by SimpleJetCorrector::correction().
|
inline |
Definition at line 113 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(), printFile(), printScreen(), and SimpleJetCorrector::SimpleJetCorrector().
void JetCorrectorParameters::init | ( | void | ) |
Definition at line 168 of file JetCorrectorParameters.cc.
References mDefinitions, and mRecords.
Referenced by JetCorrectorParameters().
|
inline |
Definition at line 122 of file JetCorrectorParameters.h.
References valid_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
int JetCorrectorParameters::neighbourBin | ( | unsigned | fIndex, |
unsigned | fVar, | ||
bool | fNext | ||
) | const |
Definition at line 210 of file JetCorrectorParameters.cc.
References mps_fire::i, dqmiolumiharvest::j, mDefinitions, N, JetCorrectorParameters::Definitions::nBinVar(), record(), mps_fire::result, size(), createJobs::tmp, multiplicitycorr_cfi::xMax, and photonAnalyzer_cfi::xMin.
Referenced by SimpleJetCorrector::correction().
void JetCorrectorParameters::printFile | ( | const std::string & | fFileName | ) | const |
Definition at line 314 of file JetCorrectorParameters.cc.
References JetCorrectorParameters::Definitions::binVar(), definitions(), pfMETCorrectionType0_cfi::formula, JetCorrectorParameters::Definitions::formula(), mps_fire::i, dqmiolumiharvest::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 276 of file JetCorrectorParameters.cc.
References JetCorrectorParameters::Definitions::binVar(), gather_cfg::cout, definitions(), JetCorrectorParameters::Definitions::formula(), mps_fire::i, dqmiolumiharvest::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 112 of file JetCorrectorParameters.h.
References mRecords.
Referenced by binCenters(), binIndex(), SimpleJetCorrector::correction(), SimpleJetCorrector::correctionBin(), JetCorrectorParameters(), neighbourBin(), printFile(), printScreen(), size(), and SimpleJetCorrectionUncertainty::uncertaintyBin().
|
private |
|
inline |
Definition at line 114 of file JetCorrectorParameters.h.
References mRecords.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), binCenters(), binIndex(), SimpleJetCorrector::correctionBin(), neighbourBin(), printFile(), printScreen(), size(), and SimpleJetCorrectionUncertainty::uncertaintyBin().
unsigned JetCorrectorParameters::size | ( | unsigned | fVar | ) | const |
Definition at line 247 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 135 of file JetCorrectorParameters.h.
|
friend |
Definition at line 135 of file JetCorrectorParameters.h.
|
private |
is this a valid set?
Definition at line 133 of file JetCorrectorParameters.h.
|
static |
Definition at line 125 of file JetCorrectorParameters.h.
Referenced by JetCorrectorParametersHelper::binIndexN(), JetCorrectorParametersHelper::init(), JetCorrectorParametersHelper::initTransientMaps(), and JetCorrectorParameters().
|
private |
Definition at line 129 of file JetCorrectorParameters.h.
Referenced by binIndex(), definitions(), init(), JetCorrectorParameters(), neighbourBin(), and size().
|
private |
Definition at line 130 of file JetCorrectorParameters.h.
Referenced by binIndexN(), init(), JetCorrectorParameters(), record(), and size().
|
private |
Definition at line 131 of file JetCorrectorParameters.h.
Referenced by isValid(), and JetCorrectorParameters().