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
double dEtaEndcapH(double x) const
double Beta(double E, double eta) const
const PerformancePayloadFromTFormula * pfCalibrations
double EcorrZoneBeforePS(double E, double eta) const
double Gamma(double etaEcal) const
double cEtaBarrelEH(double x) const
std::unique_ptr< TF1 > faEtaBarrelEH
double aEtaBarrelH(double x) const
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
double bEtaBarrelH(double x) const
const ESEEIntercalibConstants * esEEInterCalib_
double cEtaEndcapH(double x) const
double bEtaEndcapH(double x) const
void initAlphaGamma_ESplanes_fromDB(const ESEEIntercalibConstants *esEEInterCalib)
double cEtaEndcapEH(double x) const
std::unique_ptr< TF1 > fbEtaBarrelEH
CalibratedEndcapPFClusterEnergies calibrateEndcapClusterEnergies(reco::PFCluster const &eeCluster, std::vector< reco::PFCluster const *> const &psClusterPointers, ESChannelStatus const &channelStatus, bool applyCrackCorrections) const
double cBarrel(double x) const
std::unique_ptr< TF1 > fcEtaBarrelEH
double EcorrPS(double eEcal, double ePS1, double ePS2, double etaEcal) const
double cEndcap(double x) const
std::unique_ptr< TF1 > fbBarrel
std::unique_ptr< TF1 > faEtaEndcapEH
double EcorrZoneAfterPS(double E, double eta) const
friend std::ostream & operator<<(std::ostream &out, const PFEnergyCalibration &calib)
double cEtaBarrelH(double x) const
std::unique_ptr< TF1 > faBarrel
double EcorrBarrel(double E, double eta, double phi, bool crackCorrection=true) const
double aEtaBarrelEH(double x) const
double dCrackPhi(double phi, double eta) const
std::unique_ptr< TF1 > faEndcap
double bEtaEndcapEH(double x) const
double Ecorr(double eEcal, double ePS1, double ePS2, double eta, double phi, bool crackCorrection=true) const
void energyEmHad(double t, double &e, double &h, double eta, double phi) const
double aEndcap(double x) const
std::unique_ptr< TF1 > fcEtaBarrelH
double CorrPhi(double phi, double eta) const
double aEtaEndcapEH(double x) const
double minimum(double a, double b) const
double bEndcap(double x) const
double bBarrel(double x) const
std::unique_ptr< TF1 > fbEtaBarrelH
double Alpha(double eta) const
std::unique_ptr< TF1 > fdEtaEndcapEH
std::unique_ptr< TF1 > faEtaEndcapH
double CorrEta(double eta) const
double aBarrel(double x) const
double EcorrPS_ePSNil(double eEcal, double eta) const
double aEtaEndcapH(double x) const
std::unique_ptr< TF1 > fcEtaEndcapH
std::unique_ptr< TF1 > fbEndcap
std::unique_ptr< TF1 > fcBarrel
void setCalibrationFunctions(const PerformancePayloadFromTFormula *thePFCal)
double CorrBarrel(double E, double eta) const
std::unique_ptr< TF1 > fdEtaEndcapH
double dEtaEndcapEH(double x) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
double energyEm(const reco::PFCluster &clusterEcal, double ePS1, double ePS2, bool crackCorrection=true) const
std::unique_ptr< TF1 > fbEtaEndcapEH
std::unique_ptr< TF1 > fcEndcap
double bEtaBarrelEH(double x) const
std::unique_ptr< TF1 > fbEtaEndcapH