1 #ifndef RecoParticleFlow_PFClusterTools_PFEnergyCalibration_h 2 #define RecoParticleFlow_PFClusterTools_PFEnergyCalibration_h 50 std::vector<double> &EclustersPS1,
51 std::vector<double> &EclustersPS2,
52 bool crackCorrection =
true)
const;
54 double ePS1,
double ePS2,
55 bool crackCorrection =
true)
const;
58 std::vector<double> &EclustersPS1,
59 std::vector<double> &EclustersPS2,
60 double &ps1,
double&ps2,
61 bool crackCorrection=
true)
const;
63 double ePS1,
double ePS2,
64 double &ps1,
double&ps2,
65 bool crackCorrection=
true)
const;
109 double dCrackPhi(
double phi,
double eta)
const;
110 double CorrPhi(
double phi,
double eta)
const;
111 double CorrEta(
double eta)
const;
112 double CorrBarrel(
double E,
double eta)
const;
113 double Alpha(
double eta)
const;
114 double Beta(
double E,
double eta)
const;
115 double Gamma(
double etaEcal)
const;
116 double EcorrBarrel(
double E,
double eta,
double phi,
bool crackCorrection=
true)
const;
118 double EcorrPS(
double eEcal,
double ePS1,
double ePS2,
double etaEcal)
const;
119 double EcorrPS(
double eEcal,
double ePS1,
double ePS2,
double etaEcal,
double&,
double&)
const;
122 double Ecorr(
double eEcal,
double ePS1,
double ePS2,
double eta,
double phi,
bool crackCorrection=
true)
const;
123 double Ecorr(
double eEcal,
double ePS1,
double ePS2,
double eta,
double phi,
double&,
double&,
bool crackCorrection=
true)
const;
const PerformancePayloadFromTFormula * pfCalibrations
double bBarrel(double x) const
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
double aEndcap(double x) const
double bEndcap(double x) const
const ESEEIntercalibConstants * esEEInterCalib_
double Ecorr(double eEcal, double ePS1, double ePS2, double eta, double phi, bool crackCorrection=true) const
void initAlphaGamma_ESplanes_fromDB(const ESEEIntercalibConstants *esEEInterCalib)
double EcorrZoneBeforePS(double E, double eta) const
double Alpha(double eta) const
void energyEmHad(double t, double &e, double &h, double eta, double phi) const
double bEtaEndcap(double x) const
friend std::ostream & operator<<(std::ostream &out, const PFEnergyCalibration &calib)
double cEndcap(double x) const
double Beta(double E, double eta) const
double EcorrZoneAfterPS(double E, double eta) const
double CorrBarrel(double E, double eta) const
double Gamma(double etaEcal) const
double energyEm(const reco::PFCluster &clusterEcal, std::vector< double > &EclustersPS1, std::vector< double > &EclustersPS2, bool crackCorrection=true) const
double dCrackPhi(double phi, double eta) const
double aEtaBarrel(double x) const
double aEtaEndcap(double x) const
void setCalibrationFunctions(const PerformancePayloadFromTFormula *thePFCal)
double bEtaBarrel(double x) const
double CorrEta(double eta) const
void initializeCalibrationFunctions()
double aBarrel(double x) const
double CorrPhi(double phi, double eta) const
double EcorrPS_ePSNil(double eEcal, double eta) const
double cBarrel(double x) const
double EcorrBarrel(double E, double eta, double phi, bool crackCorrection=true) const
double EcorrPS(double eEcal, double ePS1, double ePS2, double etaEcal) const
double minimum(double a, double b) const