#include <RegressionEnergyPatElectronProducer.h>
Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
RegressionEnergyPatElectronProducer (const edm::ParameterSet &) | |
~RegressionEnergyPatElectronProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Attributes | |
const CaloGeometry * | caloGeometry_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeomToken_ |
bool | debug_ |
const CaloTopology * | ecalTopology_ |
edm::ESGetToken< CaloTopology, CaloTopologyRecord > | ecalTopoToken_ |
uint32_t | energyRegressionType_ |
bool | geomInitialized_ |
uint32_t | inputCollectionType_ |
edm::EDGetTokenT < reco::GsfElectronCollection > | inputGsfElectronsToken_ |
edm::EDGetTokenT < pat::ElectronCollection > | inputPatElectronsToken_ |
std::string | nameEnergyErrorReg_ |
std::string | nameEnergyReg_ |
unsigned | nElectrons_ |
bool | producePatElectrons_ |
bool | produceValueMaps_ |
edm::EDGetTokenT < EcalRecHitCollection > | recHitCollectionEBToken_ |
edm::EDGetTokenT < EcalRecHitCollection > | recHitCollectionEEToken_ |
ElectronEnergyRegressionEvaluate * | regressionEvaluator_ |
std::string | regressionInputFile_ |
edm::EDGetTokenT< double > | rhoInputToken_ |
bool | useReducedRecHits_ |
edm::EDGetTokenT < reco::VertexCollection > | verticesInputToken_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 20 of file RegressionEnergyPatElectronProducer.h.
|
explicit |
Definition at line 17 of file RegressionEnergyPatElectronProducer.cc.
References caloGeomToken_, debug_, ecalTopoToken_, energyRegressionType_, DeDxTools::esConsumes(), Exception, geomInitialized_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ElectronEnergyRegressionEvaluate::initialize(), inputCollectionType_, inputGsfElectronsToken_, inputPatElectronsToken_, ElectronEnergyRegressionEvaluate::kNoTrkVar, ElectronEnergyRegressionEvaluate::kWithSubCluVar, ElectronEnergyRegressionEvaluate::kWithTrkVar, nameEnergyErrorReg_, nameEnergyReg_, produceValueMaps_, recHitCollectionEBToken_, recHitCollectionEEToken_, regressionEvaluator_, regressionInputFile_, rhoInputToken_, AlCaHLTBitMon_QueryRunRegistry::string, useReducedRecHits_, and verticesInputToken_.
|
override |
Definition at line 87 of file RegressionEnergyPatElectronProducer.cc.
References regressionEvaluator_.
|
override |
Definition at line 89 of file RegressionEnergyPatElectronProducer.cc.
References cms::cuda::assert(), caloGeometry_, caloGeomToken_, reco::LeafCandidate::charge(), SuperClusterHelper::clustersSize(), reco::GsfElectron::correctEcalEnergy(), reco::GsfElectron::correctMomentum(), debug_, SuperClusterHelper::e2nd(), SuperClusterHelper::e2x5Bottom(), SuperClusterHelper::e2x5Left(), SuperClusterHelper::e2x5Max(), SuperClusterHelper::e2x5Right(), SuperClusterHelper::e2x5Top(), SuperClusterHelper::e3x3(), SuperClusterHelper::e5x5(), SuperClusterHelper::eBottom(), reco::GsfElectron::ecalDrivenSeed(), ecalTopology_, ecalTopoToken_, SuperClusterHelper::eESClusters(), SuperClusterHelper::eLeft(), SuperClusterHelper::eMax(), energyRegressionType_, SuperClusterHelper::eRight(), SuperClusterHelper::esClusterEnergy(), SuperClusterHelper::esClusterEta(), SuperClusterHelper::esClusterPhi(), SuperClusterHelper::eSubClusters(), reco::GsfElectron::eSuperClusterOverP(), SuperClusterHelper::eta(), reco::LeafCandidate::eta(), SuperClusterHelper::etaCrySeed(), SuperClusterHelper::etaWidth(), SuperClusterHelper::eTop(), reco::GsfElectron::fbrem(), edm::helper::Filler< Map >::fill(), geomInitialized_, edm::EventSetup::getData(), SuperClusterHelper::hadronicOverEm(), SuperClusterHelper::ietaSeed(), inputCollectionType_, inputGsfElectronsToken_, inputPatElectronsToken_, edm::helper::Filler< Map >::insert(), SuperClusterHelper::iphiSeed(), reco::GsfElectron::isEB(), reco::GsfElectron::isEBEtaGap(), reco::GsfElectron::isEBPhiGap(), reco::GsfElectron::isEEDeeGap(), ElectronEnergyRegressionEvaluate::isInitialized(), eostools::move(), nameEnergyErrorReg_, nameEnergyReg_, nElectrons_, SuperClusterHelper::nPreshowerClusters(), reco::LeafCandidate::p(), reco::GsfElectron::p4(), electronProducer_cfi::patElectrons, SuperClusterHelper::phi(), reco::LeafCandidate::phi(), SuperClusterHelper::phiCrySeed(), SuperClusterHelper::phiWidth(), SuperClusterHelper::preshowerEnergy(), SuperClusterHelper::preshowerEnergyOverRaw(), produceValueMaps_, edm::Handle< T >::product(), reco::LeafCandidate::pt(), SuperClusterHelper::r9(), SuperClusterHelper::rawEnergy(), recHitCollectionEBToken_, recHitCollectionEEToken_, HLT_FULL_cff::recHits, regressionEvaluator_, ElectronEnergyRegressionEvaluate::regressionUncertaintyNoTrkVar(), ElectronEnergyRegressionEvaluate::regressionUncertaintyWithSubClusters(), ElectronEnergyRegressionEvaluate::regressionUncertaintyWithTrkVar(), ElectronEnergyRegressionEvaluate::regressionValueNoTrkVar(), ElectronEnergyRegressionEvaluate::regressionValueWithSubClusters(), ElectronEnergyRegressionEvaluate::regressionValueWithTrkVar(), rho, rhoInputToken_, SuperClusterHelper::seedEnergy(), SuperClusterHelper::seedEta(), SuperClusterHelper::seedPhi(), SuperClusterHelper::sep(), pat::Electron::setEcalRegressionEnergy(), SuperClusterHelper::sigmaIetaIeta(), SuperClusterHelper::spp(), SuperClusterHelper::subClusterE3x3(), SuperClusterHelper::subClusterEmax(), SuperClusterHelper::subClusterEnergy(), SuperClusterHelper::subClusterEta(), SuperClusterHelper::subClusterPhi(), reco::GsfElectron::trackMomentumAtVtx(), reco::GsfElectron::trackMomentumError(), useReducedRecHits_, and verticesInputToken_.
|
private |
Definition at line 55 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce().
|
private |
Definition at line 36 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 48 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 54 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce().
|
private |
Definition at line 35 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 45 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 50 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 46 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 28 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 29 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 43 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 42 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 56 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce().
|
private |
Definition at line 51 of file RegressionEnergyPatElectronProducer.h.
|
private |
Definition at line 52 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 32 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 33 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 49 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), RegressionEnergyPatElectronProducer(), and ~RegressionEnergyPatElectronProducer().
|
private |
Definition at line 47 of file RegressionEnergyPatElectronProducer.h.
Referenced by RegressionEnergyPatElectronProducer().
|
private |
Definition at line 30 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 38 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 31 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().