#include <PFEnergyCalibration.h>
Public Member Functions | |
double | energyEm (const reco::PFCluster &clusterEcal, std::vector< double > &EclustersPS1, std::vector< double > &EclustersPS2, bool crackCorrection=true) |
double | energyEm (const reco::PFCluster &clusterEcal, double ePS1, double ePS2, bool crackCorrection=true) |
double | energyEm (const reco::PFCluster &clusterEcal, std::vector< double > &EclustersPS1, std::vector< double > &EclustersPS2, double &ps1, double &ps2, bool crackCorrection=true) |
double | energyEm (const reco::PFCluster &clusterEcal, double ePS1, double ePS2, double &ps1, double &ps2, bool crackCorrection=true) |
void | energyEmHad (double t, double &e, double &h, double eta, double phi) const |
void | initializeCalibrationFunctions () |
PFEnergyCalibration () | |
void | setCalibrationFunctions (const PerformancePayloadFromTFormula *thePFCal) |
~PFEnergyCalibration () | |
Protected Attributes | |
TF1 * | faBarrel |
TF1 * | faEndcap |
TF1 * | faEtaBarrel |
TF1 * | faEtaEndcap |
TF1 * | fbBarrel |
TF1 * | fbEndcap |
TF1 * | fbEtaBarrel |
TF1 * | fbEtaEndcap |
TF1 * | fcBarrel |
TF1 * | fcEndcap |
const PerformancePayloadFromTFormula * | pfCalibrations |
Private Member Functions | |
double | aBarrel (double x) const |
double | aEndcap (double x) const |
double | aEtaBarrel (double x) const |
double | aEtaEndcap (double x) const |
double | Alpha (double eta) |
double | bBarrel (double x) const |
double | bEndcap (double x) const |
double | Beta (double E, double eta) |
double | bEtaBarrel (double x) const |
double | bEtaEndcap (double x) const |
double | cBarrel (double x) const |
double | cEndcap (double x) const |
double | CorrBarrel (double E, double eta) |
double | CorrEta (double eta) |
double | CorrPhi (double phi, double eta) |
double | dCrackPhi (double phi, double eta) |
double | Ecorr (double eEcal, double ePS1, double ePS2, double eta, double phi, bool crackCorrection=true) |
double | Ecorr (double eEcal, double ePS1, double ePS2, double eta, double phi, double &, double &, bool crackCorrection=true) |
double | EcorrBarrel (double E, double eta, double phi, bool crackCorrection=true) |
double | EcorrPS (double eEcal, double ePS1, double ePS2, double etaEcal) |
double | EcorrPS (double eEcal, double ePS1, double ePS2, double etaEcal, double &, double &) |
double | EcorrPS_ePSNil (double eEcal, double eta) |
double | EcorrZoneAfterPS (double E, double eta) |
double | EcorrZoneBeforePS (double E, double eta) |
double | Gamma (double etaEcal) |
double | minimum (double a, double b) |
Private Attributes | |
double | threshE |
double | threshH |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PFEnergyCalibration &calib) |
Definition at line 39 of file PFEnergyCalibration.h.
PFEnergyCalibration::PFEnergyCalibration | ( | ) |
Definition at line 12 of file PFEnergyCalibration.cc.
References initializeCalibrationFunctions().
PFEnergyCalibration::~PFEnergyCalibration | ( | ) |
Definition at line 17 of file PFEnergyCalibration.cc.
References faBarrel, faEndcap, faEtaBarrel, faEtaEndcap, fbBarrel, fbEndcap, fbEtaBarrel, fbEtaEndcap, fcBarrel, and fcEndcap.
|
private |
Definition at line 225 of file PFEnergyCalibration.cc.
References faBarrel, PerformancePayloadFromTFormula::getResult(), BinningPointByMap::insert(), BinningVariables::JetEt, pfCalibrations, PerformanceResult::PFfa_BARREL, and point.
Referenced by energyEmHad().
|
private |
Definition at line 305 of file PFEnergyCalibration.cc.
References faEndcap, PerformancePayloadFromTFormula::getResult(), BinningPointByMap::insert(), BinningVariables::JetEt, pfCalibrations, PerformanceResult::PFfa_ENDCAP, and point.
Referenced by energyEmHad().
|
private |
Definition at line 273 of file PFEnergyCalibration.cc.
References faEtaBarrel, PerformancePayloadFromTFormula::getResult(), BinningPointByMap::insert(), BinningVariables::JetEt, pfCalibrations, PerformanceResult::PFfaEta_BARREL, and point.
Referenced by energyEmHad().
|
private |
Definition at line 353 of file PFEnergyCalibration.cc.
References faEtaEndcap, PerformancePayloadFromTFormula::getResult(), BinningPointByMap::insert(), BinningVariables::JetEt, pfCalibrations, PerformanceResult::PFfaEta_ENDCAP, and point.
Referenced by energyEmHad().
|
private |
Definition at line 674 of file PFEnergyCalibration.cc.
References constexpr, eta(), p1, p2, and query::result.
Referenced by EcorrPS().
|
private |
Definition at line 241 of file PFEnergyCalibration.cc.
References fbBarrel, PerformancePayloadFromTFormula::getResult(), BinningPointByMap::insert(), BinningVariables::JetEt, pfCalibrations, PerformanceResult::PFfb_BARREL, and point.
Referenced by energyEmHad().
|
private |
Definition at line 321 of file PFEnergyCalibration.cc.
References fbEndcap, PerformancePayloadFromTFormula::getResult(), BinningPointByMap::insert(), BinningVariables::JetEt, pfCalibrations, PerformanceResult::PFfb_ENDCAP, and point.
Referenced by energyEmHad().
|
private |
Definition at line 692 of file PFEnergyCalibration.cc.
References constexpr, p1, p2, p3, p4, and query::result.
Referenced by EcorrPS().
|
private |
Definition at line 289 of file PFEnergyCalibration.cc.
References fbEtaBarrel, PerformancePayloadFromTFormula::getResult(), BinningPointByMap::insert(), BinningVariables::JetEt, pfCalibrations, PerformanceResult::PFfbEta_BARREL, and point.
Referenced by energyEmHad().
|
private |
Definition at line 369 of file PFEnergyCalibration.cc.
References fbEtaEndcap, PerformancePayloadFromTFormula::getResult(), BinningPointByMap::insert(), BinningVariables::JetEt, pfCalibrations, PerformanceResult::PFfbEta_ENDCAP, and point.
Referenced by energyEmHad().
|
private |
Definition at line 257 of file PFEnergyCalibration.cc.
References fcBarrel, PerformancePayloadFromTFormula::getResult(), BinningPointByMap::insert(), BinningVariables::JetEt, pfCalibrations, PerformanceResult::PFfc_BARREL, and point.
Referenced by energyEmHad().
|
private |
Definition at line 337 of file PFEnergyCalibration.cc.
References fcEndcap, PerformancePayloadFromTFormula::getResult(), BinningPointByMap::insert(), BinningVariables::JetEt, pfCalibrations, PerformanceResult::PFfc_ENDCAP, and point.
Referenced by energyEmHad().
|
private |
Definition at line 628 of file PFEnergyCalibration.cc.
References constexpr, p1, p2, p3, p4, and query::result.
Referenced by EcorrBarrel().
|
private |
Definition at line 610 of file PFEnergyCalibration.cc.
References a, constexpr, i, m, query::result, alignCSCRings::s, and contentValuesCheck::ss.
Referenced by EcorrBarrel().
|
private |
Definition at line 584 of file PFEnergyCalibration.cc.
References constexpr, dCrackPhi(), p1, p2, p3, p4, and query::result.
Referenced by EcorrBarrel().
|
private |
Definition at line 542 of file PFEnergyCalibration.cc.
References constexpr, gather_cfg::cout, i, m, minimum(), and pi.
Referenced by CorrPhi().
|
private |
Definition at line 884 of file PFEnergyCalibration.cc.
References constexpr, EcorrBarrel(), EcorrPS(), EcorrPS_ePSNil(), EcorrZoneAfterPS(), EcorrZoneBeforePS(), and query::result.
Referenced by energyEm().
|
private |
Definition at line 914 of file PFEnergyCalibration.cc.
References constexpr, EcorrBarrel(), EcorrPS(), EcorrPS_ePSNil(), EcorrZoneAfterPS(), EcorrZoneBeforePS(), and query::result.
|
private |
Definition at line 742 of file PFEnergyCalibration.cc.
References CorrBarrel(), CorrEta(), CorrPhi(), max(), and query::result.
Referenced by Ecorr().
|
private |
Definition at line 781 of file PFEnergyCalibration.cc.
References Alpha(), Beta(), constexpr, alignCSCRings::e, Gamma(), p1, p2, p3, p4, and query::result.
Referenced by Ecorr().
|
private |
Definition at line 801 of file PFEnergyCalibration.cc.
References Alpha(), Beta(), constexpr, alignCSCRings::e, Gamma(), p1, p2, p3, p4, and query::result.
|
private |
Definition at line 828 of file PFEnergyCalibration.cc.
References constexpr, p1, p2, p3, p4, and query::result.
Referenced by Ecorr().
|
private |
|
private |
Definition at line 755 of file PFEnergyCalibration.cc.
References constexpr, eta(), p1, p2, p3, p4, and query::result.
Referenced by Ecorr().
double PFEnergyCalibration::energyEm | ( | const reco::PFCluster & | clusterEcal, |
std::vector< double > & | EclustersPS1, | ||
std::vector< double > & | EclustersPS2, | ||
bool | crackCorrection = true |
||
) |
Definition at line 386 of file PFEnergyCalibration.cc.
Referenced by energyEm(), and ConvBremPFTrackFinder::runConvBremFinder().
double PFEnergyCalibration::energyEm | ( | const reco::PFCluster & | clusterEcal, |
double | ePS1, | ||
double | ePS2, | ||
bool | crackCorrection = true |
||
) |
Definition at line 396 of file PFEnergyCalibration.cc.
References reco::PFCluster::calculatePositionREP(), gather_cfg::cout, Ecorr(), reco::PFCluster::energy(), eta(), phi, and reco::PFCluster::positionREP().
double PFEnergyCalibration::energyEm | ( | const reco::PFCluster & | clusterEcal, |
std::vector< double > & | EclustersPS1, | ||
std::vector< double > & | EclustersPS2, | ||
double & | ps1, | ||
double & | ps2, | ||
bool | crackCorrection = true |
||
) |
Definition at line 412 of file PFEnergyCalibration.cc.
References energyEm().
double PFEnergyCalibration::energyEm | ( | const reco::PFCluster & | clusterEcal, |
double | ePS1, | ||
double | ePS2, | ||
double & | ps1, | ||
double & | ps2, | ||
bool | crackCorrection = true |
||
) |
Definition at line 421 of file PFEnergyCalibration.cc.
References reco::PFCluster::calculatePositionREP(), gather_cfg::cout, Ecorr(), reco::PFCluster::energy(), eta(), phi, and reco::PFCluster::positionREP().
void PFEnergyCalibration::energyEmHad | ( | double | t, |
double & | e, | ||
double & | h, | ||
double | eta, | ||
double | phi | ||
) | const |
Definition at line 108 of file PFEnergyCalibration.cc.
References a, aBarrel(), aEndcap(), aEtaBarrel(), aEtaEndcap(), b, bBarrel(), bEndcap(), bEtaBarrel(), bEtaEndcap(), cBarrel(), cEndcap(), alignCSCRings::e, h, max(), bookConverter::min, edmStreamStallGrapher::t, GOODCOLL_filter_cfg::thresh, threshE, threshH, and groupFilesInBlocks::tt.
|
private |
Definition at line 713 of file PFEnergyCalibration.cc.
References constexpr, p1, p2, and query::result.
Referenced by EcorrPS().
void PFEnergyCalibration::initializeCalibrationFunctions | ( | ) |
Definition at line 34 of file PFEnergyCalibration.cc.
References faBarrel, faEndcap, faEtaBarrel, faEtaEndcap, fbBarrel, fbEndcap, fbEtaBarrel, fbEtaEndcap, fcBarrel, fcEndcap, threshE, and threshH.
Referenced by PFEnergyCalibration().
|
private |
|
inline |
Definition at line 72 of file PFEnergyCalibration.h.
References pfCalibrations.
|
friend |
Definition at line 438 of file PFEnergyCalibration.cc.
|
protected |
Definition at line 85 of file PFEnergyCalibration.h.
Referenced by aBarrel(), initializeCalibrationFunctions(), operator<<(), and ~PFEnergyCalibration().
|
protected |
Definition at line 92 of file PFEnergyCalibration.h.
Referenced by aEndcap(), initializeCalibrationFunctions(), operator<<(), and ~PFEnergyCalibration().
|
protected |
Definition at line 88 of file PFEnergyCalibration.h.
Referenced by aEtaBarrel(), initializeCalibrationFunctions(), operator<<(), and ~PFEnergyCalibration().
|
protected |
Definition at line 95 of file PFEnergyCalibration.h.
Referenced by aEtaEndcap(), initializeCalibrationFunctions(), operator<<(), and ~PFEnergyCalibration().
|
protected |
Definition at line 86 of file PFEnergyCalibration.h.
Referenced by bBarrel(), initializeCalibrationFunctions(), operator<<(), and ~PFEnergyCalibration().
|
protected |
Definition at line 93 of file PFEnergyCalibration.h.
Referenced by bEndcap(), initializeCalibrationFunctions(), operator<<(), and ~PFEnergyCalibration().
|
protected |
Definition at line 89 of file PFEnergyCalibration.h.
Referenced by bEtaBarrel(), initializeCalibrationFunctions(), operator<<(), and ~PFEnergyCalibration().
|
protected |
Definition at line 96 of file PFEnergyCalibration.h.
Referenced by bEtaEndcap(), initializeCalibrationFunctions(), operator<<(), and ~PFEnergyCalibration().
|
protected |
Definition at line 87 of file PFEnergyCalibration.h.
Referenced by cBarrel(), initializeCalibrationFunctions(), operator<<(), and ~PFEnergyCalibration().
|
protected |
Definition at line 94 of file PFEnergyCalibration.h.
Referenced by cEndcap(), initializeCalibrationFunctions(), operator<<(), and ~PFEnergyCalibration().
|
protected |
Definition at line 82 of file PFEnergyCalibration.h.
Referenced by aBarrel(), aEndcap(), aEtaBarrel(), aEtaEndcap(), bBarrel(), bEndcap(), bEtaBarrel(), bEtaEndcap(), cBarrel(), cEndcap(), operator<<(), and setCalibrationFunctions().
|
private |
Definition at line 130 of file PFEnergyCalibration.h.
Referenced by energyEmHad(), and initializeCalibrationFunctions().
|
private |
Definition at line 130 of file PFEnergyCalibration.h.
Referenced by energyEmHad(), and initializeCalibrationFunctions().