#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 |
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(), hgcalPlots::section, jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, createJobs::tmp, valid_, JetCorrectorParameters::Record::xMax(), and JetCorrectorParameters::Record::xMin().
|
inline |
Definition at line 115 of file JetCorrectorParameters.h.
References valid_.
std::vector< float > JetCorrectorParameters::binCenters | ( | unsigned | fVar | ) | const |
Definition at line 269 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 178 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 202 of file JetCorrectorParameters.cc.
References mRecords.
Referenced by SimpleJetCorrector::correction().
|
inline |
Definition at line 122 of file JetCorrectorParameters.h.
References mDefinitions.
Referenced by SimpleJetCorrector::correction(), SimpleJetCorrector::correctionBin(), SimpleJetCorrector::findInvertVar(), JetCorrectionUncertainty::getUncertainty(), JetResolution::initialize(), JetCorrectorParameters(), printFile(), printScreen(), and SimpleJetCorrector::SimpleJetCorrector().
void JetCorrectorParameters::init | ( | void | ) |
Definition at line 170 of file JetCorrectorParameters.cc.
References mDefinitions, mRecords, and jetUpdater_cfi::sort.
Referenced by JetCorrectorParameters().
|
inline |
Definition at line 131 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 212 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 316 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 278 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 121 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 123 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 249 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 144 of file JetCorrectorParameters.h.
|
friend |
Definition at line 144 of file JetCorrectorParameters.h.
|
private |
is this a valid set?
Definition at line 142 of file JetCorrectorParameters.h.
|
static |
Definition at line 134 of file JetCorrectorParameters.h.
Referenced by JetCorrectorParametersHelper::binIndexN(), JetCorrectorParametersHelper::init(), JetCorrectorParametersHelper::initTransientMaps(), and JetCorrectorParameters().
|
private |
Definition at line 138 of file JetCorrectorParameters.h.
Referenced by binIndex(), definitions(), init(), JetCorrectorParameters(), neighbourBin(), and size().
|
private |
Definition at line 139 of file JetCorrectorParameters.h.
Referenced by binIndexN(), init(), JetCorrectorParameters(), record(), and size().
|
private |
Definition at line 140 of file JetCorrectorParameters.h.
Referenced by isValid(), and JetCorrectorParameters().