#include <SimpleJetCorrector.h>
Public Member Functions | |
float | correction (const std::vector< float > &fX, const std::vector< float > &fY) const |
const JetCorrectorParameters & | parameters () const |
void | setInterpolation (bool fInterpolation) |
SimpleJetCorrector (const std::string &fDataFile, const std::string &fOption="") | |
SimpleJetCorrector (const JetCorrectorParameters &fParameters) | |
Private Member Functions | |
float | correctionBin (unsigned fBin, const std::vector< float > &fY) const |
unsigned | findInvertVar () |
float | invert (const double *args, const double *params) const |
SimpleJetCorrector & | operator= (const SimpleJetCorrector &) |
void | setFuncParameters () |
SimpleJetCorrector (const SimpleJetCorrector &) | |
Private Attributes | |
bool | mDoInterpolation |
reco::FormulaEvaluator | mFunc |
unsigned | mInvertVar |
JetCorrectorParameters | mParameters |
Definition at line 15 of file SimpleJetCorrector.h.
SimpleJetCorrector::SimpleJetCorrector | ( | const std::string & | fDataFile, |
const std::string & | fOption = "" |
||
) |
Definition at line 12 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), findInvertVar(), JetCorrectorParameters::Definitions::isResponse(), mDoInterpolation, mInvertVar, and mParameters.
Referenced by parameters().
SimpleJetCorrector::SimpleJetCorrector | ( | const JetCorrectorParameters & | fParameters | ) |
Definition at line 24 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), findInvertVar(), JetCorrectorParameters::Definitions::isResponse(), mDoInterpolation, mInvertVar, and mParameters.
|
private |
float SimpleJetCorrector::correction | ( | const std::vector< float > & | fX, |
const std::vector< float > & | fY | ||
) | const |
Definition at line 36 of file SimpleJetCorrector.cc.
References stringResolutionProvider_cfi::bin, JetCorrectorParameters::binIndex(), JetCorrectorParameters::binIndexN(), correctionBin(), JetCorrectorParameters::definitions(), mps_fire::i, mDoInterpolation, mParameters, JetCorrectorParameters::Definitions::nBinVar(), JetCorrectorParameters::neighbourBin(), JetCorrectorParameters::record(), mps_fire::result, tmp, and JetCorrectorParameters::Record::xMiddle().
Referenced by setInterpolation().
|
private |
Definition at line 79 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), reco::FormulaEvaluator::evaluate(), mps_fire::i, invert(), JetCorrectorParameters::Definitions::isResponse(), mFunc, mParameters, N, JetCorrectorParameters::Record::parameters(), JetCorrectorParameters::record(), JetCorrectorParameters::size(), and x.
Referenced by correction(), and parameters().
|
private |
Definition at line 114 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), mps_fire::i, mParameters, JetCorrectorParameters::Definitions::parVar(), and mps_fire::result.
Referenced by parameters(), and SimpleJetCorrector().
|
private |
Definition at line 131 of file SimpleJetCorrector.cc.
References MillePedeFileConverter_cfg::e, reco::FormulaEvaluator::evaluate(), mFunc, mInvertVar, reco::FormulaEvaluator::numberOfParameters(), tmp, and x.
Referenced by correctionBin(), and parameters().
|
private |
Referenced by parameters().
|
inline |
Definition at line 24 of file SimpleJetCorrector.h.
References createfilelist::args, correctionBin(), findInvertVar(), invert(), mParameters, operator=(), setFuncParameters(), and SimpleJetCorrector().
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Referenced by parameters().
|
inline |
|
private |
Definition at line 38 of file SimpleJetCorrector.h.
Referenced by correction(), setInterpolation(), and SimpleJetCorrector().
|
private |
Definition at line 36 of file SimpleJetCorrector.h.
Referenced by correctionBin(), and invert().
|
private |
Definition at line 37 of file SimpleJetCorrector.h.
Referenced by invert(), and SimpleJetCorrector().
|
private |
Definition at line 35 of file SimpleJetCorrector.h.
Referenced by correction(), correctionBin(), findInvertVar(), parameters(), and SimpleJetCorrector().