#include <PFEnergyCalibration.h>
Classes | |
struct | CalibratedEndcapPFClusterEnergies |
Public Member Functions | |
CalibratedEndcapPFClusterEnergies | calibrateEndcapClusterEnergies (reco::PFCluster const &eeCluster, std::vector< reco::PFCluster const *> const &psClusterPointers, ESChannelStatus const &channelStatus, bool applyCrackCorrections) const |
double | energyEm (const reco::PFCluster &clusterEcal, double ePS1, double ePS2, bool crackCorrection=true) const |
void | energyEmHad (double t, double &e, double &h, double eta, double phi) const |
void | initAlphaGamma_ESplanes_fromDB (const ESEEIntercalibConstants *esEEInterCalib) |
PFEnergyCalibration () | |
void | setCalibrationFunctions (const PerformancePayloadFromTFormula *thePFCal) |
Private Member Functions | |
double | aBarrel (double x) const |
double | aEndcap (double x) const |
double | aEtaBarrelEH (double x) const |
double | aEtaBarrelH (double x) const |
double | aEtaEndcapEH (double x) const |
double | aEtaEndcapH (double x) const |
double | Alpha (double eta) const |
double | bBarrel (double x) const |
double | bEndcap (double x) const |
double | Beta (double E, double eta) const |
double | bEtaBarrelEH (double x) const |
double | bEtaBarrelH (double x) const |
double | bEtaEndcapEH (double x) const |
double | bEtaEndcapH (double x) const |
double | cBarrel (double x) const |
double | cEndcap (double x) const |
double | cEtaBarrelEH (double x) const |
double | cEtaBarrelH (double x) const |
double | cEtaEndcapEH (double x) const |
double | cEtaEndcapH (double x) const |
double | CorrBarrel (double E, double eta) const |
double | CorrEta (double eta) const |
double | CorrPhi (double phi, double eta) const |
double | dCrackPhi (double phi, double eta) const |
double | dEtaEndcapEH (double x) const |
double | dEtaEndcapH (double x) const |
double | Ecorr (double eEcal, double ePS1, double ePS2, double eta, double phi, bool crackCorrection=true) const |
double | Ecorr (double eEcal, double ePS1, double ePS2, double eta, double phi, double &, double &, bool crackCorrection=true) const |
double | EcorrBarrel (double E, double eta, double phi, bool crackCorrection=true) const |
double | EcorrPS (double eEcal, double ePS1, double ePS2, double etaEcal) const |
double | EcorrPS (double eEcal, double ePS1, double ePS2, double etaEcal, double &, double &) const |
double | EcorrPS_ePSNil (double eEcal, double eta) const |
double | EcorrZoneAfterPS (double E, double eta) const |
double | EcorrZoneBeforePS (double E, double eta) const |
double | energyEm (const reco::PFCluster &clusterEcal, double ePS1, double ePS2, double &ps1, double &ps2, bool crackCorrection=true) const |
double | Gamma (double etaEcal) const |
double | minimum (double a, double b) const |
Private Attributes | |
const ESEEIntercalibConstants * | esEEInterCalib_ = nullptr |
std::unique_ptr< TF1 > | faBarrel |
std::unique_ptr< TF1 > | faEndcap |
std::unique_ptr< TF1 > | faEtaBarrelEH |
std::unique_ptr< TF1 > | faEtaBarrelH |
std::unique_ptr< TF1 > | faEtaEndcapEH |
std::unique_ptr< TF1 > | faEtaEndcapH |
std::unique_ptr< TF1 > | fbBarrel |
std::unique_ptr< TF1 > | fbEndcap |
std::unique_ptr< TF1 > | fbEtaBarrelEH |
std::unique_ptr< TF1 > | fbEtaBarrelH |
std::unique_ptr< TF1 > | fbEtaEndcapEH |
std::unique_ptr< TF1 > | fbEtaEndcapH |
std::unique_ptr< TF1 > | fcBarrel |
std::unique_ptr< TF1 > | fcEndcap |
std::unique_ptr< TF1 > | fcEtaBarrelEH |
std::unique_ptr< TF1 > | fcEtaBarrelH |
std::unique_ptr< TF1 > | fcEtaEndcapEH |
std::unique_ptr< TF1 > | fcEtaEndcapH |
std::unique_ptr< TF1 > | fdEtaEndcapEH |
std::unique_ptr< TF1 > | fdEtaEndcapH |
const PerformancePayloadFromTFormula * | pfCalibrations = nullptr |
const double | threshE = 3.5 |
const double | threshH = 2.5 |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PFEnergyCalibration &calib) |
Definition at line 42 of file PFEnergyCalibration.h.
PFEnergyCalibration::PFEnergyCalibration | ( | ) |
Definition at line 16 of file PFEnergyCalibration.cc.
References MillePedeFileConverter_cfg::e.
|
private |
Definition at line 298 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfa_BARREL, point, and x.
|
private |
Definition at line 375 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfa_ENDCAP, point, and x.
|
private |
Definition at line 331 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfaEta_BARRELEH, point, and x.
|
private |
Definition at line 353 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfaEta_BARRELH, point, and x.
|
private |
Definition at line 408 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfaEta_ENDCAPEH, point, and x.
|
private |
Definition at line 430 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfaEta_ENDCAPH, point, and x.
|
private |
Definition at line 763 of file PFEnergyCalibration.cc.
References PVValHelper::eta, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, and mps_fire::result.
|
private |
Definition at line 309 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfb_BARREL, point, and x.
|
private |
Definition at line 386 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfb_ENDCAP, point, and x.
|
private |
Definition at line 779 of file PFEnergyCalibration.cc.
References PVValHelper::eta, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, and mps_fire::result.
|
private |
Definition at line 342 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfbEta_BARRELEH, point, and x.
|
private |
Definition at line 364 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfbEta_BARRELH, point, and x.
|
private |
Definition at line 419 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfbEta_ENDCAPEH, point, and x.
|
private |
Definition at line 441 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfbEta_ENDCAPH, point, and x.
PFEnergyCalibration::CalibratedEndcapPFClusterEnergies PFEnergyCalibration::calibrateEndcapClusterEnergies | ( | reco::PFCluster const & | eeCluster, |
std::vector< reco::PFCluster const *> const & | psClusterPointers, | ||
ESChannelStatus const & | channelStatus, | ||
bool | applyCrackCorrections | ||
) | const |
Definition at line 154 of file PFEnergyCalibration.cc.
References HLT_2022v12_cff::applyCrackCorrections, ESCondObjectContainer< T >::find(), ESCondObjectContainer< T >::getMap(), PFLayer::PS1, PFLayer::PS2, and digitizers_cfi::strip.
Referenced by PFEGammaAlgo::buildRefinedSuperCluster().
|
private |
Definition at line 320 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfc_BARREL, point, and x.
|
private |
Definition at line 397 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfc_ENDCAP, point, and x.
|
private |
Definition at line 485 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfcEta_BARRELEH, point, and x.
|
private |
Definition at line 453 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfcEta_BARRELH, point, and x.
|
private |
Definition at line 496 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfcEta_ENDCAPEH, point, and x.
|
private |
Definition at line 463 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfcEta_ENDCAPH, point, and x.
|
private |
Definition at line 720 of file PFEnergyCalibration.cc.
References PVValHelper::eta, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, and mps_fire::result.
|
private |
Definition at line 703 of file PFEnergyCalibration.cc.
References a, funct::abs(), PVValHelper::eta, mps_fire::i, visualization-live-secondInstance_cfg::m, mps_fire::result, alignCSCRings::s, and contentValuesCheck::ss.
|
private |
Definition at line 680 of file PFEnergyCalibration.cc.
References PVValHelper::eta, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, and mps_fire::result.
|
private |
Definition at line 640 of file PFEnergyCalibration.cc.
References gather_cfg::cout, PVValHelper::eta, mps_fire::i, visualization-live-secondInstance_cfg::m, and pi.
|
private |
Definition at line 507 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfdEta_ENDCAPEH, point, and x.
|
private |
Definition at line 474 of file PFEnergyCalibration.cc.
References BinningVariables::JetEt, PerformanceResult::PFfdEta_ENDCAPH, point, and x.
|
private |
Definition at line 967 of file PFEnergyCalibration.cc.
References funct::abs(), PVValHelper::eta, and mps_fire::result.
|
private |
Definition at line 1001 of file PFEnergyCalibration.cc.
References funct::abs(), PVValHelper::eta, and mps_fire::result.
|
private |
Definition at line 821 of file PFEnergyCalibration.cc.
References pfMETCorrectionType0_cfi::correction, PVValHelper::eta, SiStripPI::max, and mps_fire::result.
|
private |
Definition at line 853 of file PFEnergyCalibration.cc.
References VtxSmearedParameters_cfi::Alpha, VtxSmearedMatchPbPBoost_cff::Beta, MillePedeFileConverter_cfg::e, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, and mps_fire::result.
|
private |
Definition at line 872 of file PFEnergyCalibration.cc.
References VtxSmearedParameters_cfi::Alpha, VtxSmearedMatchPbPBoost_cff::Beta, MillePedeFileConverter_cfg::e, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, and mps_fire::result.
|
private |
Definition at line 918 of file PFEnergyCalibration.cc.
References funct::abs(), PVValHelper::eta, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, and mps_fire::result.
|
private |
Definition at line 938 of file PFEnergyCalibration.cc.
References PVValHelper::eta, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, and mps_fire::result.
|
private |
Definition at line 830 of file PFEnergyCalibration.cc.
References PVValHelper::eta, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, and mps_fire::result.
double PFEnergyCalibration::energyEm | ( | const reco::PFCluster & | clusterEcal, |
double | ePS1, | ||
double | ePS2, | ||
bool | crackCorrection = true |
||
) | const |
Definition at line 518 of file PFEnergyCalibration.cc.
References reco::PFCluster::energy(), reco::CaloCluster::eta(), and reco::CaloCluster::phi().
|
private |
Definition at line 525 of file PFEnergyCalibration.cc.
References reco::PFCluster::energy(), reco::CaloCluster::eta(), and reco::CaloCluster::phi().
void PFEnergyCalibration::energyEmHad | ( | double | t, |
double & | e, | ||
double & | h, | ||
double | eta, | ||
double | phi | ||
) | const |
Definition at line 195 of file PFEnergyCalibration.cc.
References a, funct::abs(), b, HLT_2022v12_cff::dEta, MillePedeFileConverter_cfg::e, PVValHelper::eta, h, hh, SiStripPI::max, SiStripPI::min, submitPVValidationJobs::t, GOODCOLL_filter_cfg::thresh, and groupFilesInBlocks::tt.
Referenced by PFAlgo::createCandidatesHCAL(), PFAlgo::createCandidatesHCALUnlinked(), and PFAlgo::recoTracksNotHCAL().
|
private |
Definition at line 797 of file PFEnergyCalibration.cc.
References LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, and mps_fire::result.
|
inline |
Definition at line 67 of file PFEnergyCalibration.h.
References esEEInterCalib_.
Referenced by PFEGammaAlgo::PFEGammaAlgo().
|
private |
|
inline |
Definition at line 65 of file PFEnergyCalibration.h.
References pfCalibrations.
Referenced by PFProducer::beginRun().
|
friend |
Definition at line 534 of file PFEnergyCalibration.cc.
|
private |
Definition at line 84 of file PFEnergyCalibration.h.
Referenced by initAlphaGamma_ESplanes_fromDB().
|
private |
Definition at line 87 of file PFEnergyCalibration.h.
|
private |
Definition at line 96 of file PFEnergyCalibration.h.
|
private |
Definition at line 90 of file PFEnergyCalibration.h.
|
private |
Definition at line 92 of file PFEnergyCalibration.h.
|
private |
Definition at line 99 of file PFEnergyCalibration.h.
|
private |
Definition at line 101 of file PFEnergyCalibration.h.
|
private |
Definition at line 88 of file PFEnergyCalibration.h.
|
private |
Definition at line 97 of file PFEnergyCalibration.h.
|
private |
Definition at line 91 of file PFEnergyCalibration.h.
|
private |
Definition at line 93 of file PFEnergyCalibration.h.
|
private |
Definition at line 100 of file PFEnergyCalibration.h.
|
private |
Definition at line 102 of file PFEnergyCalibration.h.
|
private |
Definition at line 89 of file PFEnergyCalibration.h.
|
private |
Definition at line 98 of file PFEnergyCalibration.h.
|
private |
Definition at line 105 of file PFEnergyCalibration.h.
|
private |
Definition at line 108 of file PFEnergyCalibration.h.
|
private |
Definition at line 106 of file PFEnergyCalibration.h.
|
private |
Definition at line 109 of file PFEnergyCalibration.h.
|
private |
Definition at line 107 of file PFEnergyCalibration.h.
|
private |
Definition at line 110 of file PFEnergyCalibration.h.
|
private |
Definition at line 83 of file PFEnergyCalibration.h.
Referenced by setCalibrationFunctions().
|
private |
Definition at line 160 of file PFEnergyCalibration.h.
|
private |
Definition at line 161 of file PFEnergyCalibration.h.