#include <SCEnergyCorrectorSemiParm.h>
Classes | |
class | RegParam |
Public Member Functions | |
std::pair< double, double > | getCorrections (const reco::SuperCluster &sc) const |
std::vector< float > | getRegData (const reco::SuperCluster &sc) const |
void | modifyObject (reco::SuperCluster &sc) const |
SCEnergyCorrectorSemiParm () | |
SCEnergyCorrectorSemiParm (const edm::ParameterSet &iConfig, edm::ConsumesCollector cc) | |
void | setEvent (const edm::Event &e) |
void | setEventSetup (const edm::EventSetup &es) |
template<edm::Transition tr = edm::Transition::BeginLuminosityBlock> | |
void | setTokens (const edm::ParameterSet &iConfig, edm::ConsumesCollector cc) |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
static edm::ParameterSetDescription | makePSetDescription () |
Private Member Functions | |
std::vector< float > | getRegDataECALHLTV1 (const reco::SuperCluster &sc) const |
std::vector< float > | getRegDataECALV1 (const reco::SuperCluster &sc) const |
std::vector< float > | getRegDataHGCALHLTV1 (const reco::SuperCluster &sc) const |
std::vector< float > | getRegDataHGCALV1 (const reco::SuperCluster &sc) const |
const RegParam & | getRegParam (const DetId &detId) const |
Definition at line 37 of file SCEnergyCorrectorSemiParm.h.
SCEnergyCorrectorSemiParm::SCEnergyCorrectorSemiParm | ( | ) |
Definition at line 49 of file SCEnergyCorrectorSemiParm.cc.
SCEnergyCorrectorSemiParm::SCEnergyCorrectorSemiParm | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector | cc | ||
) |
Definition at line 62 of file SCEnergyCorrectorSemiParm.cc.
References gpuPixelDoublets::cc, and setTokens().
|
static |
Definition at line 67 of file SCEnergyCorrectorSemiParm.cc.
References submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, EgammaHGCALIDParamDefaults::kRCylinder, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by makePSetDescription().
std::pair< double, double > SCEnergyCorrectorSemiParm::getCorrections | ( | const reco::SuperCluster & | sc | ) | const |
Definition at line 130 of file SCEnergyCorrectorSemiParm.cc.
References DetId::det(), DetId::Ecal, EcalEndcap, getRegData(), getRegParam(), isHLT_, SiStripPI::mean, reco::SuperCluster::preshowerEnergy(), reco::SuperCluster::rawEnergy(), regTrainedWithPS_, reco::SuperCluster::seed(), reco::CaloCluster::seed(), and DetId::subdetId().
Referenced by modifyObject().
std::vector< float > SCEnergyCorrectorSemiParm::getRegData | ( | const reco::SuperCluster & | sc | ) | const |
Definition at line 167 of file SCEnergyCorrectorSemiParm.cc.
References DetId::det(), DetId::Ecal, EcalEndcap, Exception, getRegDataECALHLTV1(), getRegDataECALV1(), getRegDataHGCALHLTV1(), getRegDataHGCALV1(), DetId::HGCalEE, isHLT_, isPhaseII_, reco::SuperCluster::seed(), reco::CaloCluster::seed(), and DetId::subdetId().
Referenced by getCorrections(), and SCEnergyCorrectorProducer::produce().
|
private |
Definition at line 317 of file SCEnergyCorrectorSemiParm.cc.
References caloTopo_, reco::SuperCluster::clusters(), EcalBarrel, reco::CaloCluster::eta(), reco::CaloCluster::hitsAndFractions(), SiStripPI::max, nHitsAboveThresholdEB_, nHitsAboveThresholdEE_, reco::SuperCluster::phiWidth(), reco::SuperCluster::rawEnergy(), FastTrackerRecHitMaskProducer_cfi::recHits, recHitsEB_, recHitsEE_, reco::SuperCluster::seed(), and edm::PtrVectorBase::size().
Referenced by getRegData().
|
private |
Definition at line 201 of file SCEnergyCorrectorSemiParm.cc.
References applySigmaIetaIphiBug_, caloTopo_, reco::SuperCluster::clusters(), reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), reco::deltaPhi(), reco::deltaR(), EcalBarrel, cosmicPhotonAnalyzer_cfi::eMax, reco::CaloCluster::energy(), reco::CaloCluster::eta(), reco::SuperCluster::etaWidth(), reco::CaloCluster::hitsAndFractions(), EBDetId::ieta(), edm::isNotFinite(), EEDetId::ix(), SiStripPI::max, L1TPhase2MuonOffline_cfi::maxDR, reco::CaloCluster::phi(), reco::SuperCluster::phiWidth(), reco::SuperCluster::rawEnergy(), FastTrackerRecHitMaskProducer_cfi::recHits, recHitsEB_, recHitsEE_, reco::SuperCluster::seed(), reco::CaloCluster::seed(), edm::PtrVectorBase::size(), mathSSE::sqrt(), and vertices_.
Referenced by getRegData().
|
private |
Definition at line 368 of file SCEnergyCorrectorSemiParm.cc.
References reco::SuperCluster::clusters(), HGCalShowerShapeHelper::createCalc(), reco::CaloCluster::eta(), hgcalCylinderR_, hgcalShowerShapes_, SiStripPI::max, nHitsAboveThresholdEB_, nHitsAboveThresholdHG_, reco::SuperCluster::phiWidth(), reco::SuperCluster::rawEnergy(), and edm::PtrVectorBase::size().
Referenced by getRegData().
|
private |
Definition at line 337 of file SCEnergyCorrectorSemiParm.cc.
References reco::SuperCluster::clusters(), HGCalShowerShapeHelper::createCalc(), reco::deltaPhi(), reco::CaloCluster::energy(), reco::CaloCluster::eta(), reco::SuperCluster::etaWidth(), HGCalShowerShapeHelper::ShowerShapeCalc::getPCAWidths(), hgcalCylinderR_, hgcalShowerShapes_, reco::CaloCluster::hitsAndFractions(), nHitsAboveThresholdEB_, nHitsAboveThresholdHG_, reco::CaloCluster::phi(), reco::SuperCluster::phiWidth(), reco::SuperCluster::rawEnergy(), reco::SuperCluster::seed(), edm::PtrVectorBase::size(), and mathSSE::sqrt().
Referenced by getRegData().
Definition at line 100 of file SCEnergyCorrectorSemiParm.h.
References DetId::det(), DetId::Ecal, EcalBarrel, regParamBarrel_, regParamEndcap_, and DetId::subdetId().
Referenced by getCorrections().
|
static |
Definition at line 92 of file SCEnergyCorrectorSemiParm.cc.
References submitPVResolutionJobs::desc, and fillPSetDescription().
Referenced by SCEnergyCorrectorProducer::fillDescriptions(), and PFECALSuperClusterProducer::fillDescriptions().
void SCEnergyCorrectorSemiParm::modifyObject | ( | reco::SuperCluster & | sc | ) | const |
Definition at line 156 of file SCEnergyCorrectorSemiParm.cc.
References getCorrections(), reco::CaloCluster::setCorrectedEnergy(), reco::CaloCluster::setCorrectedEnergyUncertainty(), and reco::CaloCluster::setEnergy().
Referenced by SCEnergyCorrectorProducer::produce().
void SCEnergyCorrectorSemiParm::setEvent | ( | const edm::Event & | e | ) |
Definition at line 110 of file SCEnergyCorrectorSemiParm.cc.
References hgcalShowerShapes_, hitsEnergyThreshold_, HGCalShowerShapeHelper::initPerEvent(), isHLT_, isPhaseII_, nHitsAboveThresholdEB_, nHitsAboveThresholdEE_, nHitsAboveThresholdHG_, recHitsEB_, recHitsEE_, recHitsHgcal_, tokenEBRecHits_, tokenEERecHits_, tokenHgcalRecHits_, tokenVertices_, and vertices_.
Referenced by SCEnergyCorrectorProducer::produce().
void SCEnergyCorrectorSemiParm::setEventSetup | ( | const edm::EventSetup & | es | ) |
Definition at line 98 of file SCEnergyCorrectorSemiParm.cc.
References caloGeom_, caloGeomToken_, caloTopo_, caloTopoToken_, edm::EventSetup::getData(), hgcalShowerShapes_, HGCalShowerShapeHelper::initPerSetup(), isPhaseII_, regParamBarrel_, regParamEndcap_, and SCEnergyCorrectorSemiParm::RegParam::setForests().
Referenced by SCEnergyCorrectorProducer::beginLuminosityBlock().
void SCEnergyCorrectorSemiParm::setTokens | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector | cc | ||
) |
Definition at line 147 of file SCEnergyCorrectorSemiParm.h.
References applySigmaIetaIphiBug_, caloGeomToken_, caloTopoToken_, gpuPixelDoublets::cc, edm::ParameterSet::getParameter(), hgcalCylinderR_, hgcalShowerShapes_, hitsEnergyThreshold_, isHLT_, isPhaseII_, regParamBarrel_, regParamEndcap_, regTrainedWithPS_, SCEnergyCorrectorSemiParm::RegParam::setTokens(), HGCalShowerShapeHelper::setTokens(), AlCaHLTBitMon_QueryRunRegistry::string, tokenEBRecHits_, tokenEERecHits_, tokenHgcalRecHits_, and tokenVertices_.
Referenced by SCEnergyCorrectorSemiParm().
|
private |
Definition at line 131 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegDataECALV1(), and setTokens().
|
private |
Definition at line 114 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEventSetup().
|
private |
Definition at line 116 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEventSetup(), and setTokens().
|
private |
Definition at line 113 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegDataECALHLTV1(), getRegDataECALV1(), and setEventSetup().
|
private |
Definition at line 115 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEventSetup(), and setTokens().
|
private |
Definition at line 136 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegDataHGCALHLTV1(), getRegDataHGCALV1(), and setTokens().
|
private |
Definition at line 137 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegDataHGCALHLTV1(), getRegDataHGCALV1(), setEvent(), setEventSetup(), and setTokens().
|
private |
Definition at line 135 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEvent(), and setTokens().
|
private |
Definition at line 128 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), getRegData(), setEvent(), and setTokens().
|
private |
Definition at line 129 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegData(), setEvent(), setEventSetup(), and setTokens().
|
private |
Definition at line 132 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegDataECALHLTV1(), getRegDataHGCALHLTV1(), getRegDataHGCALV1(), and setEvent().
|
private |
Definition at line 133 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegDataECALHLTV1(), and setEvent().
|
private |
Definition at line 134 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegDataHGCALHLTV1(), getRegDataHGCALV1(), and setEvent().
|
private |
Definition at line 123 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegDataECALHLTV1(), getRegDataECALV1(), and setEvent().
|
private |
Definition at line 124 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegDataECALHLTV1(), getRegDataECALV1(), and setEvent().
|
private |
Definition at line 125 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEvent().
|
private |
Definition at line 110 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegParam(), setEventSetup(), and setTokens().
|
private |
Definition at line 111 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegParam(), setEventSetup(), and setTokens().
|
private |
Definition at line 130 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), and setTokens().
|
private |
Definition at line 118 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEvent(), and setTokens().
|
private |
Definition at line 119 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEvent(), and setTokens().
|
private |
Definition at line 120 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEvent(), and setTokens().
|
private |
Definition at line 121 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEvent(), and setTokens().
|
private |
Definition at line 126 of file SCEnergyCorrectorSemiParm.h.
Referenced by getRegDataECALV1(), and setEvent().