#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.
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 newFWLiteAna::bin, JetCorrectorParameters::binIndex(), correctionBin(), JetCorrectorParameters::definitions(), i, mDoInterpolation, mParameters, JetCorrectorParameters::Definitions::nBinVar(), JetCorrectorParameters::neighbourBin(), JetCorrectorParameters::record(), mps_fire::result, tmp, and JetCorrectorParameters::Record::xMiddle().
|
private |
Definition at line 78 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), reco::FormulaEvaluator::evaluate(), i, invert(), JetCorrectorParameters::Definitions::isResponse(), mFunc, mParameters, N, JetCorrectorParameters::Record::parameters(), JetCorrectorParameters::record(), JetCorrectorParameters::size(), and x.
Referenced by correction().
|
private |
Definition at line 113 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), i, mParameters, JetCorrectorParameters::Definitions::parVar(), and mps_fire::result.
Referenced by SimpleJetCorrector().
|
private |
Definition at line 130 of file SimpleJetCorrector.cc.
References alignCSCRings::e, reco::FormulaEvaluator::evaluate(), mFunc, mInvertVar, reco::FormulaEvaluator::numberOfParameters(), tmp, and x.
Referenced by correctionBin().
|
private |
|
inline |
Definition at line 24 of file SimpleJetCorrector.h.
References mParameters.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
|
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().