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;
113 double dCrackPhi(
double phi,
double eta)
const;
114 double CorrPhi(
double phi,
double eta)
const;
115 double CorrEta(
double eta)
const;
116 double CorrBarrel(
double E,
double eta)
const;
117 double Alpha(
double eta)
const;
118 double Beta(
double E,
double eta)
const;
119 double Gamma(
double etaEcal)
const;
120 double EcorrBarrel(
double E,
double eta,
double phi,
bool crackCorrection=
true)
const;
122 double EcorrPS(
double eEcal,
double ePS1,
double ePS2,
double etaEcal)
const;
123 double EcorrPS(
double eEcal,
double ePS1,
double ePS2,
double etaEcal,
double&,
double&)
const;
126 double Ecorr(
double eEcal,
double ePS1,
double ePS2,
double eta,
double phi,
bool crackCorrection=
true)
const;
127 double Ecorr(
double eEcal,
double ePS1,
double ePS2,
double eta,
double phi,
double&,
double&,
bool crackCorrection=
true)
const;
std::unique_ptr< TF1 > faEtaBarrelH
const PerformancePayloadFromTFormula * pfCalibrations
double aEtaEndcapEH(double x) const
std::unique_ptr< TF1 > faEtaBarrelEH
double bBarrel(double x) const
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
double aEtaBarrelEH(double x) const
double aEndcap(double x) const
double bEndcap(double x) const
const ESEEIntercalibConstants * esEEInterCalib_
double bEtaEndcapH(double x) const
double Ecorr(double eEcal, double ePS1, double ePS2, double eta, double phi, bool crackCorrection=true) const
void initAlphaGamma_ESplanes_fromDB(const ESEEIntercalibConstants *esEEInterCalib)
std::unique_ptr< TF1 > fbEtaBarrelEH
double aEtaBarrelH(double x) const
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 bEtaBarrelEH(double x) const
std::unique_ptr< TF1 > fbBarrel
std::unique_ptr< TF1 > faEtaEndcapEH
friend std::ostream & operator<<(std::ostream &out, const PFEnergyCalibration &calib)
double cEndcap(double x) const
double Beta(double E, double eta) const
std::unique_ptr< TF1 > faBarrel
std::unique_ptr< TF1 > faEndcap
double bEtaEndcapEH(double x) const
double EcorrZoneAfterPS(double E, double eta) const
double bEtaBarrelH(double x) const
std::unique_ptr< TF1 > fbEtaBarrelH
std::unique_ptr< TF1 > faEtaEndcapH
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
std::unique_ptr< TF1 > fbEndcap
std::unique_ptr< TF1 > fcBarrel
void setCalibrationFunctions(const PerformancePayloadFromTFormula *thePFCal)
double CorrEta(double eta) const
void initializeCalibrationFunctions()
double aEtaEndcapH(double x) const
double aBarrel(double x) const
double CorrPhi(double phi, double eta) const
double EcorrPS_ePSNil(double eEcal, double eta) const
std::unique_ptr< TF1 > fbEtaEndcapEH
double cBarrel(double x) const
double EcorrBarrel(double E, double eta, double phi, bool crackCorrection=true) const
std::unique_ptr< TF1 > fcEndcap
std::unique_ptr< TF1 > fbEtaEndcapH
double EcorrPS(double eEcal, double ePS1, double ePS2, double etaEcal) const
double minimum(double a, double b) const