1 #ifndef RecoParticleFlow_PFClusterTools_PFEnergyCalibration_h
2 #define RecoParticleFlow_PFClusterTools_PFEnergyCalibration_h
53 unsigned newCalib = 0);
58 double energyEm(
double uncalibratedEnergyECAL,
59 double eta=0,
double phi=0)
const;
62 std::vector<double> &EclustersPS1,
63 std::vector<double> &EclustersPS2,
64 bool crackCorrection =
true);
67 std::vector<double> &EclustersPS1,
68 std::vector<double> &EclustersPS2,
69 double &ps1,
double&ps2,
70 bool crackCorrection=
true);
73 double energyHad(
double uncalibratedEnergyHCAL,
74 double eta=0,
double phi=0)
const;
79 double uncalibratedEnergyHCAL,
80 double eta=0,
double phi=0)
const;
129 double dCrackPhi(
double phi,
double eta);
130 double CorrPhi(
double phi,
double eta);
133 double Alpha(
double eta);
134 double Beta(
double E,
double eta);
135 double Gamma(
double etaEcal);
136 double EcorrBarrel(
double E,
double eta,
double phi,
bool crackCorrection=
true);
138 double EcorrPS(
double eEcal,
double ePS1,
double ePS2,
double etaEcal);
139 double EcorrPS(
double eEcal,
double ePS1,
double ePS2,
double etaEcal,
double&,
double&);
142 double Ecorr(
double eEcal,
double ePS1,
double ePS2,
double eta,
double phi,
bool crackCorrection=
true);
143 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)
double paramHCAL_slope() const
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
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)
double paramECAL_slope() const
double paramECAL_offset() const
double Gamma(double etaEcal)
MVATrainerComputer * calib
double CorrPhi(double phi, double eta)
double CorrBarrel(double E, double eta)
friend std::ostream & operator<<(std::ostream &out, const PFEnergyCalibration &calib)
double paramECALplusHCAL_offset() const
double paramECALplusHCAL_slopeECAL_
double paramECALplusHCAL_offset_
double paramECALplusHCAL_slopeHCAL() const
double paramHCAL_damping() const
double paramHCAL_damping_
double energyEmHad(double uncalibratedEnergyECAL, double uncalibratedEnergyHCAL, double eta=0, double phi=0) const
double dCrackPhi(double phi, double eta)
double energyEm(double uncalibratedEnergyECAL, double eta=0, double phi=0) const
void setCalibrationParametersEm(double paramECAL_slope, double paramECAL_offset)
double EcorrPS(double eEcal, double ePS1, double ePS2, double etaEcal)
double energyHad(double uncalibratedEnergyHCAL, double eta=0, double phi=0) const
double Ecorr(double eEcal, double ePS1, double ePS2, double eta, double phi, bool crackCorrection=true)
double paramECALplusHCAL_slopeECAL() const
double paramHCAL_offset() const
void initializeCalibrationFunctions()
double paramECALplusHCAL_slopeHCAL_
double minimum(double a, double b)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.