#include <SCEnergyCorrectorSemiParm.h>
Public Member Functions | |
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 | |
float | eThreshold_ |
bool | isHLT_ |
int | nHitsAboveThreshold_ |
Definition at line 30 of file SCEnergyCorrectorSemiParm.h.
SCEnergyCorrectorSemiParm::SCEnergyCorrectorSemiParm | ( | ) |
Definition at line 16 of file SCEnergyCorrectorSemiParm.cc.
SCEnergyCorrectorSemiParm::~SCEnergyCorrectorSemiParm | ( | ) |
Definition at line 26 of file SCEnergyCorrectorSemiParm.cc.
void SCEnergyCorrectorSemiParm::modifyObject | ( | reco::SuperCluster & | sc | ) |
Definition at line 96 of file SCEnergyCorrectorSemiParm.cc.
References calotopo_, reco::SuperCluster::clusters(), reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), constexpr, reco::deltaPhi(), reco::deltaR(), EcalBarrel, reco::CaloCluster::energy(), reco::CaloCluster::eta(), reco::SuperCluster::etaWidth(), foresteb_, forestee_, forestsigmaeb_, forestsigmaee_, GBRForestD::GetResponse(), reco::CaloCluster::hitsAndFractions(), EBDetId::ieta(), isHLT_, edm::isNotFinite(), EEDetId::ix(), bookConverter::max, timingPdfMaker::mean, nHitsAboveThreshold_, reco::SuperCluster::phiWidth(), reco::SuperCluster::preshowerEnergy(), edm::ESHandle< class >::product(), reco::SuperCluster::rawEnergy(), HLT_25ns10e33_v2_cff::recHits, rechitsEB_, rechitsEE_, reco::SuperCluster::seed(), reco::CaloCluster::seed(), reco::CaloCluster::setCorrectedEnergy(), reco::CaloCluster::setCorrectedEnergyUncertainty(), reco::CaloCluster::setEnergy(), edm::PtrVectorBase::size(), mathSSE::sqrt(), and vertices_.
void SCEnergyCorrectorSemiParm::setEvent | ( | const edm::Event & | e | ) |
Definition at line 71 of file SCEnergyCorrectorSemiParm.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), eThreshold_, edm::Event::getByToken(), isHLT_, nHitsAboveThreshold_, rechitsEB_, rechitsEE_, tokenEBRecHits_, tokenEERecHits_, tokenVertices_, and vertices_.
void SCEnergyCorrectorSemiParm::setEventSetup | ( | const edm::EventSetup & | es | ) |
Definition at line 49 of file SCEnergyCorrectorSemiParm.cc.
References calogeom_, calotopo_, foresteb_, forestee_, forestsigmaeb_, forestsigmaee_, edm::EventSetup::get(), edm::ESHandle< class >::product(), regressionKeyEB_, regressionKeyEE_, uncertaintyKeyEB_, and uncertaintyKeyEE_.
void SCEnergyCorrectorSemiParm::setTokens | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 30 of file SCEnergyCorrectorSemiParm.cc.
References edm::ConsumesCollector::consumes(), eThreshold_, edm::ParameterSet::getParameter(), isHLT_, regressionKeyEB_, regressionKeyEE_, AlCaHLTBitMon_QueryRunRegistry::string, tokenEBRecHits_, tokenEERecHits_, tokenVertices_, uncertaintyKeyEB_, and uncertaintyKeyEE_.
|
protected |
Definition at line 49 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEventSetup().
|
protected |
Definition at line 48 of file SCEnergyCorrectorSemiParm.h.
Referenced by modifyObject(), and setEventSetup().
|
protected |
Definition at line 59 of file SCEnergyCorrectorSemiParm.h.
|
protected |
Definition at line 60 of file SCEnergyCorrectorSemiParm.h.
|
private |
Definition at line 71 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEvent(), and setTokens().
|
protected |
Definition at line 43 of file SCEnergyCorrectorSemiParm.h.
Referenced by modifyObject(), and setEventSetup().
|
protected |
Definition at line 44 of file SCEnergyCorrectorSemiParm.h.
Referenced by modifyObject(), and setEventSetup().
|
protected |
Definition at line 45 of file SCEnergyCorrectorSemiParm.h.
Referenced by modifyObject(), and setEventSetup().
|
protected |
Definition at line 46 of file SCEnergyCorrectorSemiParm.h.
Referenced by modifyObject(), and setEventSetup().
|
private |
Definition at line 69 of file SCEnergyCorrectorSemiParm.h.
Referenced by modifyObject(), setEvent(), and setTokens().
|
private |
Definition at line 70 of file SCEnergyCorrectorSemiParm.h.
Referenced by modifyObject(), and setEvent().
|
protected |
Definition at line 56 of file SCEnergyCorrectorSemiParm.h.
Referenced by modifyObject(), and setEvent().
|
protected |
Definition at line 57 of file SCEnergyCorrectorSemiParm.h.
Referenced by modifyObject(), and setEvent().
|
protected |
Definition at line 63 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEventSetup(), and setTokens().
|
protected |
Definition at line 65 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEventSetup(), and setTokens().
|
protected |
Definition at line 51 of file SCEnergyCorrectorSemiParm.h.
Referenced by setEvent(), 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 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 61 of file SCEnergyCorrectorSemiParm.h.
|
protected |
Definition at line 55 of file SCEnergyCorrectorSemiParm.h.
Referenced by modifyObject(), and setEvent().