#include <RegressionEnergyPatElectronProducer.h>
Private Attributes | |
const CaloGeometry * | caloGeometry_ |
bool | debug_ |
const CaloTopology * | ecalTopology_ |
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::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 19 of file RegressionEnergyPatElectronProducer.h.
|
explicit |
Definition at line 17 of file RegressionEnergyPatElectronProducer.cc.
References looper::cfg, gather_cfg::cout, debug_, energyRegressionType_, Exception, geomInitialized_, 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 85 of file RegressionEnergyPatElectronProducer.cc.
References regressionEvaluator_.
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 87 of file RegressionEnergyPatElectronProducer.cc.
References cms::cuda::assert(), caloGeometry_, reco::LeafCandidate::charge(), SuperClusterHelper::clustersSize(), reco::GsfElectron::correctEcalEnergy(), reco::GsfElectron::correctMomentum(), gather_cfg::cout, debug_, SuperClusterHelper::e2nd(), SuperClusterHelper::e2x5Bottom(), SuperClusterHelper::e2x5Left(), SuperClusterHelper::e2x5Max(), SuperClusterHelper::e2x5Right(), SuperClusterHelper::e2x5Top(), SuperClusterHelper::e3x3(), SuperClusterHelper::e5x5(), SuperClusterHelper::eBottom(), reco::GsfElectron::ecalDrivenSeed(), ecalTopology_, 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_, get, 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(), patElectronEAIsoCorrectionProducer_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_, FastTrackerRecHitMaskProducer_cfi::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(), singleTopDQM_cfi::setup, 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 52 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce().
|
private |
Definition at line 45 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 51 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce().
|
private |
Definition at line 42 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 47 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 27 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 40 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 39 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 53 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce().
|
private |
Definition at line 48 of file RegressionEnergyPatElectronProducer.h.
|
private |
Definition at line 49 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 31 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 46 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), RegressionEnergyPatElectronProducer(), and ~RegressionEnergyPatElectronProducer().
|
private |
Definition at line 44 of file RegressionEnergyPatElectronProducer.h.
Referenced by RegressionEnergyPatElectronProducer().
|
private |
Definition at line 29 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 35 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 30 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().