#include <PFClusterEMEnergyCorrector.h>
Public Member Functions | |
void | correctEnergies (const edm::Event &evt, const edm::EventSetup &es, const reco::PFCluster::EEtoPSAssociation &assoc, reco::PFClusterCollection &cs) |
PFClusterEMEnergyCorrector & | operator= (const PFClusterEMEnergyCorrector &)=delete |
PFClusterEMEnergyCorrector (const edm::ParameterSet &conf, edm::ConsumesCollector &&cc) | |
PFClusterEMEnergyCorrector (const PFClusterEMEnergyCorrector &)=delete | |
Private Member Functions | |
void | getAssociatedPSEnergy (const size_t clusIdx, const reco::PFCluster::EEtoPSAssociation &assoc, float &e1, float &e2) |
Definition at line 26 of file PFClusterEMEnergyCorrector.h.
PFClusterEMEnergyCorrector::PFClusterEMEnergyCorrector | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector && | cc | ||
) |
Definition at line 14 of file PFClusterEMEnergyCorrector.cc.
References applyCrackCorrections_, applyMVACorrections_, autoDetectBunchSpacing_, bunchSpacing_, bunchSpacingManual_, condnames_mean_, condnames_mean_25ns_, condnames_mean_50ns_, condnames_sigma_, condnames_sigma_25ns_, condnames_sigma_50ns_, ebSrFlagToken_, eeSrFlagToken_, edm::ParameterSet::getParameter(), HLT_2018_cff::InputTag, maxPtForMVAEvaluation_, meanlimhighEB_, meanlimhighEE_, meanlimlowEB_, meanlimlowEE_, meanoffsetEB_, meanoffsetEE_, meanscaleEB_, meanscaleEE_, recHitsEB_, recHitsEE_, setEnergyUncertainty_, sigmalimhighEB_, sigmalimhighEE_, sigmalimlowEB_, sigmalimlowEE_, sigmaoffsetEB_, sigmaoffsetEE_, sigmascaleEB_, sigmascaleEE_, and srfAwareCorrection_.
|
delete |
void PFClusterEMEnergyCorrector::correctEnergies | ( | const edm::Event & | evt, |
const edm::EventSetup & | es, | ||
const reco::PFCluster::EEtoPSAssociation & | assoc, | ||
reco::PFClusterCollection & | cs | ||
) |
a hit can be ZS or forced ZS. A hit can be in Full readout or Forced to be FULL readout if it is ZS, then clusFlag (in binary) = 0001 if it is forced ZS, then clusFlag (in binary) = 0101 if it is FR, then clusFlag (in binary) = 0011 if it is forced FR, then clusFlag (in binary) = 0111 i.e 3rd bit is set. Even if it is forced, we should mark it is as ZS or FR. To take care of it, just check the LSB and second LSB(SLSB)
it is clusFlag==1, 5
Definition at line 131 of file PFClusterEMEnergyCorrector.cc.
References funct::abs(), applyCrackCorrections_, applyMVACorrections_, trackingPlots::assoc, autoDetectBunchSpacing_, bunchSpacing_, bunchSpacingManual_, calibrator_, condnames_mean_, condnames_mean_25ns_, condnames_mean_50ns_, condnames_sigma_, condnames_sigma_25ns_, condnames_sigma_50ns_, fwrapper::cs, MillePedeFileConverter_cfg::e, ebSrFlagToken_, PFLayer::ECAL_BARREL, eeSrFlagToken_, edm::SortedCollection< T, SORT >::end(), reco::PFCluster::energy(), JetChargeProducer_cfi::exp, edm::SortedCollection< T, SORT >::find(), edm::EventSetup::get(), get, getAssociatedPSEnergy(), edm::Event::getByToken(), GBRForestD::GetResponse(), training_settings::idx, EBDetId::ieta(), edm::HandleBase::isValid(), EEDetId::ix(), reco::PFCluster::layer(), LogDebug, maxPtForMVAEvaluation_, SiStripPI::mean, meanoffsetEB_, meanoffsetEE_, meanscaleEB_, meanscaleEE_, min(), DiDispStaMuonMonitor_cfi::pt, reco::PFCluster::pt(), EcalReadoutTools::readOutUnitOf(), recHitsEB_, recHitsEE_, reco::CaloCluster::seed(), reco::CaloCluster::setCorrectedEnergy(), reco::CaloCluster::setCorrectedEnergyUncertainty(), setEnergyUncertainty_, sigmaoffsetEB_, sigmaoffsetEE_, sigmascaleEB_, sigmascaleEE_, findQualityFiles::size, and srfAwareCorrection_.
|
private |
Definition at line 425 of file PFClusterEMEnergyCorrector.cc.
References trackingPlots::assoc, StorageManager_cfg::e1, reco::PFCluster::energy(), reco::PFCluster::layer(), PFLayer::PS1, PFLayer::PS2, and sortByKey().
Referenced by correctEnergies().
|
delete |
|
private |
Definition at line 57 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 58 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 61 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 46 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 62 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 64 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies().
|
private |
Definition at line 48 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 51 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 53 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 49 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 52 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 54 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 40 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 41 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 38 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 71 of file PFClusterEMEnergyCorrector.h.
Referenced by PFClusterEMEnergyCorrector().
|
private |
Definition at line 76 of file PFClusterEMEnergyCorrector.h.
Referenced by PFClusterEMEnergyCorrector().
|
private |
Definition at line 70 of file PFClusterEMEnergyCorrector.h.
Referenced by PFClusterEMEnergyCorrector().
|
private |
Definition at line 75 of file PFClusterEMEnergyCorrector.h.
Referenced by PFClusterEMEnergyCorrector().
|
private |
Definition at line 72 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 77 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 73 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 78 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 44 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 45 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 59 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 81 of file PFClusterEMEnergyCorrector.h.
Referenced by PFClusterEMEnergyCorrector().
|
private |
Definition at line 86 of file PFClusterEMEnergyCorrector.h.
Referenced by PFClusterEMEnergyCorrector().
|
private |
Definition at line 80 of file PFClusterEMEnergyCorrector.h.
Referenced by PFClusterEMEnergyCorrector().
|
private |
Definition at line 85 of file PFClusterEMEnergyCorrector.h.
Referenced by PFClusterEMEnergyCorrector().
|
private |
Definition at line 82 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 87 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 83 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 88 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().
|
private |
Definition at line 56 of file PFClusterEMEnergyCorrector.h.
Referenced by correctEnergies(), and PFClusterEMEnergyCorrector().