#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 () | |
SimpleJetCorrector (const std::string &fDataFile, const std::string &fOption="") | |
SimpleJetCorrector (const JetCorrectorParameters &fParameters) | |
~SimpleJetCorrector () | |
Private Member Functions | |
float | correctionBin (unsigned fBin, const std::vector< float > &fY) const |
unsigned | findInvertVar () |
float | invert (const std::vector< float > &fX) const |
SimpleJetCorrector & | operator= (const SimpleJetCorrector &) |
SimpleJetCorrector (const SimpleJetCorrector &) | |
Private Attributes | |
bool | mDoInterpolation |
TFormula * | mFunc |
unsigned | mInvertVar |
JetCorrectorParameters * | mParameters |
Definition at line 12 of file SimpleJetCorrector.h.
SimpleJetCorrector::SimpleJetCorrector | ( | ) |
Definition at line 11 of file SimpleJetCorrector.cc.
References mDoInterpolation, mFunc, mInvertVar, and mParameters.
SimpleJetCorrector::SimpleJetCorrector | ( | const std::string & | fDataFile, |
const std::string & | fOption = "" |
||
) |
Definition at line 22 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), findInvertVar(), EcalElecEmulExample_cfg::formula, JetCorrectorParameters::Definitions::isResponse(), mDoInterpolation, mFunc, mInvertVar, and mParameters.
SimpleJetCorrector::SimpleJetCorrector | ( | const JetCorrectorParameters & | fParameters | ) |
Definition at line 34 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), findInvertVar(), EcalElecEmulExample_cfg::formula, JetCorrectorParameters::Definitions::isResponse(), mDoInterpolation, mFunc, mInvertVar, and mParameters.
SimpleJetCorrector::~SimpleJetCorrector | ( | ) |
Definition at line 45 of file SimpleJetCorrector.cc.
References mFunc, and mParameters.
|
private |
float SimpleJetCorrector::correction | ( | const std::vector< float > & | fX, |
const std::vector< float > & | fY | ||
) | const |
Definition at line 53 of file SimpleJetCorrector.cc.
References newFWLiteAna::bin, JetCorrectorParameters::binIndex(), correctionBin(), JetCorrectorParameters::definitions(), i, mDoInterpolation, mParameters, JetCorrectorParameters::Definitions::nBinVar(), JetCorrectorParameters::neighbourBin(), JetCorrectorParameters::record(), query::result, tmp, and JetCorrectorParameters::Record::xMiddle().
|
private |
Definition at line 95 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), i, invert(), JetCorrectorParameters::Definitions::isResponse(), mFunc, mParameters, N, JetCorrectorParameters::Record::parameters(), JetCorrectorParameters::record(), query::result, JetCorrectorParameters::size(), tmp, and x.
Referenced by correction().
|
private |
Definition at line 130 of file SimpleJetCorrector.cc.
References JetCorrectorParameters::definitions(), i, mParameters, JetCorrectorParameters::Definitions::parVar(), and query::result.
Referenced by SimpleJetCorrector().
|
private |
Definition at line 147 of file SimpleJetCorrector.cc.
References alignCSCRings::e, i, mFunc, mInvertVar, N, 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().
|
inline |
|
private |
Definition at line 34 of file SimpleJetCorrector.h.
Referenced by correction(), setInterpolation(), and SimpleJetCorrector().
|
private |
Definition at line 36 of file SimpleJetCorrector.h.
Referenced by correctionBin(), invert(), SimpleJetCorrector(), and ~SimpleJetCorrector().
|
private |
Definition at line 35 of file SimpleJetCorrector.h.
Referenced by invert(), and SimpleJetCorrector().
|
private |
Definition at line 37 of file SimpleJetCorrector.h.
Referenced by correction(), correctionBin(), findInvertVar(), parameters(), SimpleJetCorrector(), and ~SimpleJetCorrector().