1 #ifndef RecoParticleFlow_PFClusterTools_PFEnergyCalibration_h
2 #define RecoParticleFlow_PFClusterTools_PFEnergyCalibration_h
48 std::vector<double> &EclustersPS1,
49 std::vector<double> &EclustersPS2,
50 bool crackCorrection =
true);
52 double ePS1,
double ePS2,
53 bool crackCorrection =
true);
56 std::vector<double> &EclustersPS1,
57 std::vector<double> &EclustersPS2,
58 double &ps1,
double&ps2,
59 bool crackCorrection=
true);
61 double ePS1,
double ePS2,
62 double &ps1,
double&ps2,
63 bool crackCorrection=
true);
101 double dCrackPhi(
double phi,
double eta);
102 double CorrPhi(
double phi,
double eta);
105 double Alpha(
double eta);
106 double Beta(
double E,
double eta);
107 double Gamma(
double etaEcal);
108 double EcorrBarrel(
double E,
double eta,
double phi,
bool crackCorrection=
true);
110 double EcorrPS(
double eEcal,
double ePS1,
double ePS2,
double etaEcal);
111 double EcorrPS(
double eEcal,
double ePS1,
double ePS2,
double etaEcal,
double&,
double&);
114 double Ecorr(
double eEcal,
double ePS1,
double ePS2,
double eta,
double phi,
bool crackCorrection=
true);
115 double Ecorr(
double eEcal,
double ePS1,
double ePS2,
double eta,
double phi,
double&,
double&,
bool crackCorrection=
true);
double Beta(double E, double eta)
double EcorrZoneAfterPS(double E, double eta)
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
double EcorrBarrel(double E, double eta, double phi, bool crackCorrection=true)
double EcorrZoneBeforePS(double E, double eta)
double EcorrPS_ePSNil(double eEcal, double eta)
double CorrEta(double eta)
void energyEmHad(double t, double &e, double &h, double eta, double phi) const
double Gamma(double etaEcal)
MVATrainerComputer * calib
double CorrPhi(double phi, double eta)
double CorrBarrel(double E, double eta)
double bEtaEndcap(double x) const
friend std::ostream & operator<<(std::ostream &out, const PFEnergyCalibration &calib)
double cEndcap(double x) const
double dCrackPhi(double phi, double eta)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
double EcorrPS(double eEcal, double ePS1, double ePS2, double etaEcal)
double aEtaBarrel(double x) const
double Ecorr(double eEcal, double ePS1, double ePS2, double eta, double phi, bool crackCorrection=true)
double aEtaEndcap(double x) const
void setCalibrationFunctions(const PerformancePayloadFromTFormula *thePFCal)
double bEtaBarrel(double x) const
void initializeCalibrationFunctions()
double minimum(double a, double b)
double aBarrel(double x) const
double cBarrel(double x) const
double energyEm(const reco::PFCluster &clusterEcal, std::vector< double > &EclustersPS1, std::vector< double > &EclustersPS2, bool crackCorrection=true)