CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
RegressionEnergyPatElectronProducer Class Reference

#include <RegressionEnergyPatElectronProducer.h>

Inheritance diagram for RegressionEnergyPatElectronProducer:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

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< ConsumesInfoconsumesInfo () 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 CaloGeometrycaloGeometry_
 
bool debug_
 
const CaloTopologyecalTopology_
 
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_
 
ElectronEnergyRegressionEvaluateregressionEvaluator_
 
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)
 

Detailed Description

Definition at line 19 of file RegressionEnergyPatElectronProducer.h.

Constructor & Destructor Documentation

RegressionEnergyPatElectronProducer::RegressionEnergyPatElectronProducer ( const edm::ParameterSet cfg)
explicit

Definition at line 17 of file RegressionEnergyPatElectronProducer.cc.

RegressionEnergyPatElectronProducer::~RegressionEnergyPatElectronProducer ( )
virtual

Definition at line 79 of file RegressionEnergyPatElectronProducer.cc.

Member Function Documentation

void RegressionEnergyPatElectronProducer::produce ( edm::Event event,
const edm::EventSetup setup 
)
virtual

Implements edm::EDProducer.

Definition at line 85 of file RegressionEnergyPatElectronProducer.cc.

Referenced by JSONExport.JsonExport::export().

Member Data Documentation

const CaloGeometry* RegressionEnergyPatElectronProducer::caloGeometry_
private

Definition at line 56 of file RegressionEnergyPatElectronProducer.h.

bool RegressionEnergyPatElectronProducer::debug_
private

Definition at line 48 of file RegressionEnergyPatElectronProducer.h.

const CaloTopology* RegressionEnergyPatElectronProducer::ecalTopology_
private

Definition at line 55 of file RegressionEnergyPatElectronProducer.h.

uint32_t RegressionEnergyPatElectronProducer::energyRegressionType_
private

Definition at line 45 of file RegressionEnergyPatElectronProducer.h.

bool RegressionEnergyPatElectronProducer::geomInitialized_
private

Definition at line 50 of file RegressionEnergyPatElectronProducer.h.

uint32_t RegressionEnergyPatElectronProducer::inputCollectionType_
private

Definition at line 46 of file RegressionEnergyPatElectronProducer.h.

edm::EDGetTokenT<reco::GsfElectronCollection> RegressionEnergyPatElectronProducer::inputGsfElectronsToken_
private

Definition at line 30 of file RegressionEnergyPatElectronProducer.h.

edm::EDGetTokenT<pat::ElectronCollection> RegressionEnergyPatElectronProducer::inputPatElectronsToken_
private

Definition at line 31 of file RegressionEnergyPatElectronProducer.h.

std::string RegressionEnergyPatElectronProducer::nameEnergyErrorReg_
private

Definition at line 43 of file RegressionEnergyPatElectronProducer.h.

std::string RegressionEnergyPatElectronProducer::nameEnergyReg_
private

Definition at line 42 of file RegressionEnergyPatElectronProducer.h.

unsigned RegressionEnergyPatElectronProducer::nElectrons_
private

Definition at line 57 of file RegressionEnergyPatElectronProducer.h.

bool RegressionEnergyPatElectronProducer::producePatElectrons_
private

Definition at line 51 of file RegressionEnergyPatElectronProducer.h.

bool RegressionEnergyPatElectronProducer::produceValueMaps_
private

Definition at line 52 of file RegressionEnergyPatElectronProducer.h.

edm::EDGetTokenT<EcalRecHitCollection> RegressionEnergyPatElectronProducer::recHitCollectionEBToken_
private

Definition at line 34 of file RegressionEnergyPatElectronProducer.h.

edm::EDGetTokenT<EcalRecHitCollection> RegressionEnergyPatElectronProducer::recHitCollectionEEToken_
private

Definition at line 35 of file RegressionEnergyPatElectronProducer.h.

ElectronEnergyRegressionEvaluate* RegressionEnergyPatElectronProducer::regressionEvaluator_
private

Definition at line 49 of file RegressionEnergyPatElectronProducer.h.

std::string RegressionEnergyPatElectronProducer::regressionInputFile_
private

Definition at line 47 of file RegressionEnergyPatElectronProducer.h.

edm::EDGetTokenT<double> RegressionEnergyPatElectronProducer::rhoInputToken_
private

Definition at line 32 of file RegressionEnergyPatElectronProducer.h.

bool RegressionEnergyPatElectronProducer::useReducedRecHits_
private

Definition at line 38 of file RegressionEnergyPatElectronProducer.h.

edm::EDGetTokenT<reco::VertexCollection> RegressionEnergyPatElectronProducer::verticesInputToken_
private

Definition at line 33 of file RegressionEnergyPatElectronProducer.h.