#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 11 of file JetResolution.h.
JetResolution::JetResolution | ( | ) |
JetResolution::JetResolution | ( | const std::string & | fileName, |
bool | doGaussian = false |
||
) |
|
virtual |
Definition at line 44 of file JetResolution.cc.
References mps_fire::i, parameterFncs_, parameters_, and resolutionFnc_.
void JetResolution::initialize | ( | const std::string & | fileName, |
bool | doGaussian = false |
||
) |
Definition at line 57 of file JetResolution.cc.
References cms::cuda::assert(), JetCorrectorParameters::definitions(), MillePedeFileConverter_cfg::fileName, fnc_dscb(), fnc_gaussalpha(), fnc_gaussalpha1alpha2(), pfMETCorrectionType0_cfi::formula, JetCorrectorParameters::Definitions::formula(), JetCorrectorParameters::Definitions::level(), name(), name_, HcalResponse_cfi::nPar, parameterFncs_, parameters_, resolutionFnc_, tools::TF1, and createJobs::tmp.
|
inline |
Definition at line 28 of file JetResolution.h.
References name_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), initialize(), and VIDSelectorBase.VIDSelectorBase::initialize().
TF1 * JetResolution::parameter | ( | const std::string & | parameterName, |
const std::vector< float > & | x | ||
) |
Definition at line 142 of file JetResolution.cc.
References cms::cuda::assert(), newFWLiteAna::bin, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, mps_fire::i, cuy::ii, N, parameterFncs_, parameters_, mps_fire::result, findQualityFiles::size, tools::TF1, and x.
Referenced by parameterEta().
TF1 * JetResolution::parameterEta | ( | const std::string & | parameterName, |
float | eta | ||
) |
Definition at line 135 of file JetResolution.cc.
References PVValHelper::eta, parameter(), and x.
Referenced by main().
double JetResolution::parameterEtaEval | ( | const std::string & | parameterName, |
float | eta, | ||
float | pt | ||
) |
Definition at line 170 of file JetResolution.cc.
References newFWLiteAna::bin, PVValHelper::eta, EnergyCorrector::etas, TrackCollections2monitor_cff::func, cuy::ii, N, parameterFncs_, parameters_, CalibrationSummaryClient_cfi::params, DiDispStaMuonMonitor_cfi::pt, AlCaHLTBitMon_QueryRunRegistry::string, and tools::TF1.
|
inline |
TF1 * JetResolution::resolution | ( | const std::vector< float > & | x, |
const std::vector< float > & | y | ||
) | const |
Definition at line 117 of file JetResolution.cc.
References cms::cuda::assert(), newFWLiteAna::bin, mps_fire::i, N, parameterFncs_, parameters_, resolutionFnc_, findQualityFiles::size, x, y, and geometryCSVtoXML::yy.
Referenced by resolutionEtaPt().
TF1 * JetResolution::resolutionEtaPt | ( | float | eta, |
float | pt | ||
) | const |
Definition at line 108 of file JetResolution.cc.
References PVValHelper::eta, DiDispStaMuonMonitor_cfi::pt, resolution(), x, and y.
Referenced by main().
|
private |
Definition at line 42 of file JetResolution.h.
Referenced by initialize(), and name().
|
private |
Definition at line 44 of file JetResolution.h.
Referenced by initialize(), parameter(), parameterEtaEval(), resolution(), and ~JetResolution().
|
private |
Definition at line 45 of file JetResolution.h.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Types.EDAlias::clone(), Mixins._TypedParameterizable::copy(), initialize(), parameter(), parameterEtaEval(), parameters(), resolution(), and ~JetResolution().
|
mutableprivate |
Definition at line 43 of file JetResolution.h.
Referenced by initialize(), JetResolution(), resolution(), and ~JetResolution().