#include <SCEnergyCorrectorSemiParm.h>
Public Member Functions | |
std::pair< double, double > | getCorrections (const reco::SuperCluster &sc) const |
void | modifyObject (reco::SuperCluster &sc) |
SCEnergyCorrectorSemiParm () | |
void | setEvent (const edm::Event &e) |
void | setEventSetup (const edm::EventSetup &es) |
void | setTokens (const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc) |
~SCEnergyCorrectorSemiParm () | |
Protected Attributes | |
edm::ESHandle< CaloGeometry > | calogeom_ |
edm::ESHandle< CaloTopology > | calotopo_ |
edm::InputTag | ecalHitsEBInputTag_ |
edm::InputTag | ecalHitsEEInputTag_ |
const GBRForestD * | foresteb_ |
const GBRForestD * | forestee_ |
const GBRForestD * | forestsigmaeb_ |
const GBRForestD * | forestsigmaee_ |
edm::Handle< EcalRecHitCollection > | rechitsEB_ |
edm::Handle< EcalRecHitCollection > | rechitsEE_ |
std::string | regressionKeyEB_ |
std::string | regressionKeyEE_ |
edm::EDGetTokenT< EcalRecHitCollection > | tokenEBRecHits_ |
edm::EDGetTokenT< EcalRecHitCollection > | tokenEERecHits_ |
edm::EDGetTokenT< reco::VertexCollection > | tokenVertices_ |
std::string | uncertaintyKeyEB_ |
std::string | uncertaintyKeyEE_ |
edm::InputTag | vertexInputTag_ |
edm::Handle< reco::VertexCollection > | vertices_ |
Private Attributes | |
bool | applySigmaIetaIphiBug_ |
float | eThreshold_ |
bool | isHLT_ |
int | nHitsAboveThreshold_ |
Definition at line 30 of file SCEnergyCorrectorSemiParm.h.
SCEnergyCorrectorSemiParm::SCEnergyCorrectorSemiParm | ( | ) |
Definition at line 17 of file SCEnergyCorrectorSemiParm.cc.
SCEnergyCorrectorSemiParm::~SCEnergyCorrectorSemiParm | ( | ) |
Definition at line 26 of file SCEnergyCorrectorSemiParm.cc.
std::pair< double, double > SCEnergyCorrectorSemiParm::getCorrections | ( | const reco::SuperCluster & | sc | ) | const |
Definition at line 97 of file SCEnergyCorrectorSemiParm.cc.
References applySigmaIetaIphiBug_, calotopo_, reco::SuperCluster::clusters(), reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), reco::deltaPhi(), reco::deltaR(), DetId::det(), EcalBarrel, cosmicPhotonAnalyzer_cfi::eMax, reco::CaloCluster::energy(), reco::CaloCluster::eta(), reco::SuperCluster::etaWidth(), foresteb_, forestee_, forestsigmaeb_, forestsigmaee_, GBRForestD::GetResponse(), reco::CaloCluster::hitsAndFractions(), EBDetId::ieta(), EcalTools::isHGCalDet(), isHLT_, edm::isNotFinite(), EEDetId::ix(), SiStripPI::max, jets_cff::maxDR, SiStripPI::mean, nHitsAboveThreshold_, AlCaHLTBitMon_ParallelJobs::p, reco::CaloCluster::phi(), reco::SuperCluster::phiWidth(), reco::SuperCluster::preshowerEnergy(), edm::ESHandle< T >::product(), reco::SuperCluster::rawEnergy(), FastTrackerRecHitMaskProducer_cfi::recHits, rechitsEB_, rechitsEE_, reco::SuperCluster::seed(), reco::CaloCluster::seed(), edm::PtrVectorBase::size(), mathSSE::sqrt(), and vertices_.
Referenced by modifyObject().
void SCEnergyCorrectorSemiParm::modifyObject | ( | reco::SuperCluster & | sc | ) |
Definition at line 312 of file SCEnergyCorrectorSemiParm.cc.
References getCorrections(), isHLT_, reco::CaloCluster::setCorrectedEnergy(), reco::CaloCluster::setCorrectedEnergyUncertainty(), and reco::CaloCluster::setEnergy().
void SCEnergyCorrectorSemiParm::setEvent | ( | const edm::Event & | e | ) |
Definition at line 69 of file SCEnergyCorrectorSemiParm.cc.
References MillePedeFileConverter_cfg::e, eThreshold_, isHLT_, nHitsAboveThreshold_, EcalDeadCellBoundaryEnergyFilter_cfi::recHitsEB, rechitsEB_, EcalDeadCellBoundaryEnergyFilter_cfi::recHitsEE, rechitsEE_, tokenEBRecHits_, tokenEERecHits_, tokenVertices_, and vertices_.
void SCEnergyCorrectorSemiParm::setEventSetup | ( | const edm::EventSetup & | es | ) |
Definition at line 48 of file SCEnergyCorrectorSemiParm.cc.
References calogeom_, calotopo_, foresteb_, forestee_, forestsigmaeb_, forestsigmaee_, edm::EventSetup::get(), get, edm::ESHandle< T >::product(), regressionKeyEB_, regressionKeyEE_, uncertaintyKeyEB_, and uncertaintyKeyEE_.
void SCEnergyCorrectorSemiParm::setTokens | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 29 of file SCEnergyCorrectorSemiParm.cc.
References applySigmaIetaIphiBug_, eThreshold_, edm::ParameterSet::getParameter(), isHLT_, regressionKeyEB_, regressionKeyEE_, AlCaHLTBitMon_QueryRunRegistry::string, tokenEBRecHits_, tokenEERecHits_, tokenVertices_, uncertaintyKeyEB_, and uncertaintyKeyEE_.
|
private |
Definition at line 71 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), and setTokens().
|
protected |
Definition at line 50 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEventSetup().
|
protected |
Definition at line 49 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), and setEventSetup().
|
protected |
Definition at line 60 of file SCEnergyCorrectorSemiParm.h.
|
protected |
Definition at line 61 of file SCEnergyCorrectorSemiParm.h.
|
private |
Definition at line 73 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEvent(), and setTokens().
|
protected |
Definition at line 44 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), and setEventSetup().
|
protected |
Definition at line 45 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), and setEventSetup().
|
protected |
Definition at line 46 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), and setEventSetup().
|
protected |
Definition at line 47 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), and setEventSetup().
|
private |
Definition at line 70 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), modifyObject(), setEvent(), and setTokens().
|
private |
Definition at line 72 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), and setEvent().
|
protected |
Definition at line 57 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), and setEvent().
|
protected |
Definition at line 58 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), and setEvent().
|
protected |
Definition at line 64 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEventSetup(), and setTokens().
|
protected |
Definition at line 66 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEventSetup(), and setTokens().
|
protected |
Definition at line 52 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEvent(), and setTokens().
|
protected |
Definition at line 53 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEvent(), and setTokens().
|
protected |
Definition at line 54 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEvent(), and setTokens().
|
protected |
Definition at line 65 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEventSetup(), and setTokens().
|
protected |
Definition at line 67 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEventSetup(), and setTokens().
|
protected |
Definition at line 62 of file SCEnergyCorrectorSemiParm.h.
|
protected |
Definition at line 56 of file SCEnergyCorrectorSemiParm.h.
Referenced by getCorrections(), and setEvent().