#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 13 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), findInvertVar(), JetCorrectorParameters::Definitions::isResponse(), mDoInterpolation, mInvertVar, and mParameters.
SimpleJetCorrector::SimpleJetCorrector | ( | const JetCorrectorParameters & | fParameters | ) |
Definition at line 23 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 33 of file SimpleJetCorrector.cc.
References newFWLiteAna::bin, JetCorrectorParameters::binIndex(), JetCorrectorParameters::binIndexN(), correctionBin(), JetCorrectorParameters::definitions(), MillePedeFileConverter_cfg::e, mps_fire::i, mDoInterpolation, mParameters, JetCorrectorParameters::Definitions::nBinVar(), JetCorrectorParameters::neighbourBin(), JetCorrectorParameters::record(), mps_fire::result, createJobs::tmp, and JetCorrectorParameters::Record::xMiddle().
|
private |
Definition at line 75 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), reco::FormulaEvaluator::evaluate(), mps_fire::i, invert(), JetCorrectorParameters::Definitions::isResponse(), mFunc, mParameters, N, JetCorrectorParameters::Record::parameters(), submitPVValidationJobs::params, JetCorrectorParameters::record(), JetCorrectorParameters::size(), and x.
Referenced by correction().
|
private |
Definition at line 110 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), mps_fire::i, mParameters, JetCorrectorParameters::Definitions::parVar(), and mps_fire::result.
Referenced by SimpleJetCorrector().
|
private |
Definition at line 125 of file SimpleJetCorrector.cc.
References writedatasetfile::args, MillePedeFileConverter_cfg::e, reco::FormulaEvaluator::evaluate(), mFunc, mInvertVar, metDiagnosticParameterSet_cfi::nMax, reco::FormulaEvaluator::numberOfParameters(), submitPVValidationJobs::params, boostedTaus_cff::precision, createJobs::tmp, and x.
Referenced by correctionBin().
|
private |
|
inline |
Definition at line 23 of file SimpleJetCorrector.h.
References mParameters.
|
private |
|
inline |
|
private |
Definition at line 37 of file SimpleJetCorrector.h.
Referenced by correction(), setInterpolation(), and SimpleJetCorrector().
|
private |
Definition at line 35 of file SimpleJetCorrector.h.
Referenced by correctionBin(), and invert().
|
private |
Definition at line 36 of file SimpleJetCorrector.h.
Referenced by invert(), and SimpleJetCorrector().
|
private |
Definition at line 34 of file SimpleJetCorrector.h.
Referenced by correction(), correctionBin(), findInvertVar(), parameters(), and SimpleJetCorrector().