#include <RegressionEnergyPatElectronProducer.h>
Public Member Functions | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
RegressionEnergyPatElectronProducer (const edm::ParameterSet &) | |
virtual | ~RegressionEnergyPatElectronProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 | |
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) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, 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 ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 19 of file RegressionEnergyPatElectronProducer.h.
|
explicit |
Definition at line 17 of file RegressionEnergyPatElectronProducer.cc.
References gather_cfg::cout, debug_, energyRegressionType_, 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_.
|
virtual |
Definition at line 79 of file RegressionEnergyPatElectronProducer.cc.
References regressionEvaluator_.
|
virtual |
Implements edm::EDProducer.
Definition at line 85 of file RegressionEnergyPatElectronProducer.cc.
References 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_, edm::EventSetup::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(), 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_25ns10e33_v2_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_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 56 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce().
|
private |
Definition at line 48 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().
|
private |
Definition at line 55 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 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 30 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 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 57 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 34 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 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 32 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 33 of file RegressionEnergyPatElectronProducer.h.
Referenced by produce(), and RegressionEnergyPatElectronProducer().