#include <JetResolution.h>
Public Member Functions | |
void | initialize (const std::string &fileName, bool doGaussian=false) |
JetResolution () | |
JetResolution (const std::string &fileName, bool doGaussian=false) | |
const std::string & | name () const |
TF1 * | parameter (const std::string ¶meterName, const std::vector< float > &x) |
TF1 * | parameterEta (const std::string ¶meterName, float eta) |
double | parameterEtaEval (const std::string ¶meterName, float eta, float pt) |
const JetCorrectorParameters & | parameters (int i) const |
TF1 * | resolution (const std::vector< float > &x, const std::vector< float > &y) const |
TF1 * | resolutionEtaPt (float eta, float pt) const |
virtual | ~JetResolution () |
Private Attributes | |
std::string | name_ |
std::vector< TF1 * > | parameterFncs_ |
std::vector < JetCorrectorParameters * > | parameters_ |
TF1 * | resolutionFnc_ |
Definition at line 13 of file JetResolution.h.
JetResolution::JetResolution | ( | ) |
JetResolution::JetResolution | ( | const std::string & | fileName, |
bool | doGaussian = false |
||
) |
|
virtual |
Definition at line 57 of file JetResolution.cc.
References i, parameterFncs_, parameters_, and resolutionFnc_.
void JetResolution::initialize | ( | const std::string & | fileName, |
bool | doGaussian = false |
||
) |
Definition at line 70 of file JetResolution.cc.
References assert(), JetCorrectorParameters::definitions(), MillePedeFileConverter_cfg::fileName, fnc_dscb(), fnc_gaussalpha(), fnc_gaussalpha1alpha2(), EcalElecEmulTccOnlyExample_cfg::formula, JetCorrectorParameters::Definitions::formula(), JetCorrectorParameters::Definitions::level(), name(), name_, parameterFncs_, parameters_, resolutionFnc_, and tmp.
|
inline |
Definition at line 32 of file JetResolution.h.
References name_.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), validation.Sample::digest(), initialize(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
TF1 * JetResolution::parameter | ( | const std::string & | parameterName, |
const std::vector< float > & | x | ||
) |
Definition at line 154 of file JetResolution.cc.
References assert(), newFWLiteAna::bin, ecal_dqm_sourceclient-live_cfg::cerr, i, cuy::ii, N, parameterFncs_, parameters_, mps_fire::result, and findQualityFiles::size.
Referenced by parameterEta().
TF1 * JetResolution::parameterEta | ( | const std::string & | parameterName, |
float | eta | ||
) |
Definition at line 146 of file JetResolution.cc.
References parameter(), and x.
Referenced by main().
double JetResolution::parameterEtaEval | ( | const std::string & | parameterName, |
float | eta, | ||
float | pt | ||
) |
Definition at line 182 of file JetResolution.cc.
References newFWLiteAna::bin, JetCorrectorParameters::binIndex(), JetCorrectorParameters::definitions(), EnergyCorrector::etas, cuy::ii, N, JetCorrectorParameters::Definitions::nParVar(), parameterFncs_, JetCorrectorParameters::Record::parameters(), parameters_, JetCorrectorParameters::record(), JetCorrectorParameters::size(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 40 of file JetResolution.h.
References i, and parameters_.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
TF1 * JetResolution::resolution | ( | const std::vector< float > & | x, |
const std::vector< float > & | y | ||
) | const |
Definition at line 124 of file JetResolution.cc.
References assert(), newFWLiteAna::bin, i, N, parameterFncs_, parameters_, resolutionFnc_, and findQualityFiles::size.
Referenced by resolutionEtaPt().
TF1 * JetResolution::resolutionEtaPt | ( | float | eta, |
float | pt | ||
) | const |
Definition at line 115 of file JetResolution.cc.
References resolution(), x, and y.
Referenced by main().
|
private |
Definition at line 47 of file JetResolution.h.
Referenced by initialize(), and name().
|
private |
Definition at line 49 of file JetResolution.h.
Referenced by initialize(), parameter(), parameterEtaEval(), resolution(), and ~JetResolution().
|
private |
Definition at line 50 of file JetResolution.h.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Mixins._TypedParameterizable::copy(), initialize(), parameter(), parameterEtaEval(), parameters(), resolution(), and ~JetResolution().
|
mutableprivate |
Definition at line 48 of file JetResolution.h.
Referenced by initialize(), JetResolution(), resolution(), and ~JetResolution().