1 #ifndef RECOMET_METALGORITHMS_SIGNALGORESOLUTIONS_H 2 #define RECOMET_METALGORITHMS_SIGNALGORESOLUTIONS_H 40 enum resolutionType {
caloEE,
caloEB,
caloHE,
caloHO,
caloHF,
caloHB,
jet,
electron,
tau,
muon,
PFtype1,
PFtype2,
PFtype3,
PFtype4,
PFtype5,
PFtype6,
PFtype7 };
61 typedef std::pair<metsig::resolutionType, metsig::resolutionFunc>
functionCombo;
65 double EtFunction(
const functionPars &x,
const functionPars & par)
const;
66 double PhiFunction(
const functionPars &x,
const functionPars & par)
const;
67 double PFunction(
const functionPars &x,
const functionPars &par)
const;
68 double PhiConstFunction(
const functionPars &x,
const functionPars &par)
const;
75 std::vector<double>
jdpt[10];
double PhiFunction(const functionPars &x, const functionPars &par) const
void addfunction(const resolutionType type, const resolutionFunc func, const std::vector< double > ¶meters)
double getfunc(const resolutionType &type, const resolutionFunc &func, std::vector< double > &x) const
metsig::SigInputObj evalPF(const reco::PFCandidate *candidate) const
std::vector< double > jdpt[10]
double eval(const resolutionType &type, const resolutionFunc &func, const double &et, const double &phi, const double &eta, const double &p) const
Jets made from PFObjects.
T x() const
Cartesian x coordinate.
double ElectronPtResolution(const reco::PFCandidate *c) const
double EtFunction(const functionPars &x, const functionPars &par) const
std::vector< double > functionPars
et
define resolution functions of each parameter
metsig::SigInputObj evalPFJet(const reco::PFJet *jet) const
Particle reconstructed by the particle flow algorithm.
JetResolution * phiResol_
void initializeJetResolutions(const edm::ParameterSet &iConfig)
double PhiConstFunction(const functionPars &x, const functionPars &par) const
std::map< functionCombo, functionPars > functionmap_
PFEnergyResolution * pfresol_
std::vector< double > jdphi[10]
std::pair< metsig::resolutionType, metsig::resolutionFunc > functionCombo
double PFunction(const functionPars &x, const functionPars &par) const
void addResolutions(const edm::ParameterSet &iConfig)