1 #ifndef RecoParticleFlow_PFClusterTools_PFEnergyCalibration_h
2 #define RecoParticleFlow_PFClusterTools_PFEnergyCalibration_h
47 double energyEm(
const reco::PFCluster& clusterEcal,
double ePS1,
double ePS2,
bool crackCorrection =
true)
const;
57 std::vector<reco::PFCluster const*>
const& psClusterPointers,
80 bool crackCorrection =
true)
const;
112 double minimum(
double a,
double b)
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,
134 bool crackCorrection =
true)
const;
std::unique_ptr< TF1 > faEtaBarrelH
std::unique_ptr< TF1 > fcEtaEndcapEH
const PerformancePayloadFromTFormula * pfCalibrations
double aEtaEndcapEH(double x) const
std::unique_ptr< TF1 > faEtaBarrelEH
CalibratedEndcapPFClusterEnergies calibrateEndcapClusterEnergies(reco::PFCluster const &eeCluster, std::vector< reco::PFCluster const * > const &psClusterPointers, ESChannelStatus const &channelStatus, bool applyCrackCorrections) const
double bBarrel(double x) const
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
double cEtaEndcapEH(double x) const
double energyEm(const reco::PFCluster &clusterEcal, double ePS1, double ePS2, bool crackCorrection=true) const
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 cEtaBarrelH(double x) const
double Alpha(double eta) const
void energyEmHad(double t, double &e, double &h, double eta, double phi) const
double cEtaBarrelEH(double x) const
std::unique_ptr< TF1 > fcEtaBarrelEH
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 dEtaEndcapEH(double x) const
std::unique_ptr< TF1 > fcEtaBarrelH
double bEtaEndcapEH(double x) const
double EcorrZoneAfterPS(double E, double eta) const
double bEtaBarrelH(double x) const
double dEtaEndcapH(double x) const
std::unique_ptr< TF1 > fbEtaBarrelH
std::unique_ptr< TF1 > fdEtaEndcapEH
std::unique_ptr< TF1 > faEtaEndcapH
double CorrBarrel(double E, double eta) const
double Gamma(double etaEcal) const
double dCrackPhi(double phi, double eta) const
std::unique_ptr< TF1 > fcEtaEndcapH
std::unique_ptr< TF1 > fbEndcap
std::unique_ptr< TF1 > fcBarrel
void setCalibrationFunctions(const PerformancePayloadFromTFormula *thePFCal)
tuple applyCrackCorrections
std::unique_ptr< TF1 > fdEtaEndcapH
double CorrEta(double eta) const
double aEtaEndcapH(double x) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
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 cEtaEndcapH(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