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
CalibratedElectronProducer Class Reference

#include <CalibratedElectronProducer.h>

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

Public Member Functions

 CalibratedElectronProducer (const edm::ParameterSet &)
 
virtual void produce (edm::Event &, const edm::EventSetup &)
 
virtual ~CalibratedElectronProducer ()
 
- 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

bool applyLinearityCorrection
 
const CaloGeometrycaloGeometry_
 
std::string combinationRegressionInputPath
 
int combinationType
 
int correctionsType
 
std::string dataset
 
const CaloTopologyecalTopology_
 
edm::EDGetTokenT
< edm::ValueMap< double > > 
energyErrorRegToken_
 
edm::EDGetTokenT
< edm::ValueMap< double > > 
energyRegToken_
 
bool geomInitialized_
 
edm::EDGetTokenT
< reco::GsfElectronCollection
inputElectronsToken_
 
bool isAOD
 
bool isMC
 
std::string linCorrectionsInputPath
 
double lumiRatio
 
ElectronEPcombinatormyCombinator
 
EpCombinationToolmyEpCombinationTool
 
std::string nameNewEnergyErrorReg_
 
std::string nameNewEnergyReg_
 
std::string newElectronName_
 
edm::EDGetTokenT
< EcalRecHitCollection
recHitCollectionEBToken_
 
edm::EDGetTokenT
< EcalRecHitCollection
recHitCollectionEEToken_
 
std::string scaleCorrectionsInputPath
 
bool synchronization
 
ElectronEnergyCalibratortheEnCorrector
 
bool updateEnergyError
 
bool verbose
 

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

Description: EDProducer of GsfElectron objects

Implementation: <Notes on="" implementation>="">

Definition at line 27 of file CalibratedElectronProducer.h.

Constructor & Destructor Documentation

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

Definition at line 34 of file CalibratedElectronProducer.cc.

CalibratedElectronProducer::~CalibratedElectronProducer ( )
virtual

Definition at line 154 of file CalibratedElectronProducer.cc.

Member Function Documentation

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

Implements edm::EDProducer.

Definition at line 157 of file CalibratedElectronProducer.cc.

Referenced by JSONExport.JsonExport::export().

Member Data Documentation

bool CalibratedElectronProducer::applyLinearityCorrection
private

Definition at line 49 of file CalibratedElectronProducer.h.

const CaloGeometry* CalibratedElectronProducer::caloGeometry_
private

Definition at line 56 of file CalibratedElectronProducer.h.

std::string CalibratedElectronProducer::combinationRegressionInputPath
private

Definition at line 59 of file CalibratedElectronProducer.h.

int CalibratedElectronProducer::combinationType
private

Definition at line 50 of file CalibratedElectronProducer.h.

int CalibratedElectronProducer::correctionsType
private

Definition at line 48 of file CalibratedElectronProducer.h.

std::string CalibratedElectronProducer::dataset
private

Definition at line 44 of file CalibratedElectronProducer.h.

const CaloTopology* CalibratedElectronProducer::ecalTopology_
private

Definition at line 55 of file CalibratedElectronProducer.h.

edm::EDGetTokenT<edm::ValueMap<double> > CalibratedElectronProducer::energyErrorRegToken_
private

Definition at line 37 of file CalibratedElectronProducer.h.

edm::EDGetTokenT<edm::ValueMap<double> > CalibratedElectronProducer::energyRegToken_
private

Definition at line 36 of file CalibratedElectronProducer.h.

bool CalibratedElectronProducer::geomInitialized_
private

Definition at line 57 of file CalibratedElectronProducer.h.

edm::EDGetTokenT<reco::GsfElectronCollection> CalibratedElectronProducer::inputElectronsToken_
private

Definition at line 35 of file CalibratedElectronProducer.h.

bool CalibratedElectronProducer::isAOD
private

Definition at line 45 of file CalibratedElectronProducer.h.

bool CalibratedElectronProducer::isMC
private
std::string CalibratedElectronProducer::linCorrectionsInputPath
private

Definition at line 61 of file CalibratedElectronProducer.h.

double CalibratedElectronProducer::lumiRatio
private

Definition at line 53 of file CalibratedElectronProducer.h.

ElectronEPcombinator* CalibratedElectronProducer::myCombinator
private

Definition at line 65 of file CalibratedElectronProducer.h.

EpCombinationTool* CalibratedElectronProducer::myEpCombinationTool
private

Definition at line 64 of file CalibratedElectronProducer.h.

std::string CalibratedElectronProducer::nameNewEnergyErrorReg_
private

Definition at line 42 of file CalibratedElectronProducer.h.

std::string CalibratedElectronProducer::nameNewEnergyReg_
private

Definition at line 41 of file CalibratedElectronProducer.h.

std::string CalibratedElectronProducer::newElectronName_
private

Definition at line 58 of file CalibratedElectronProducer.h.

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

Definition at line 38 of file CalibratedElectronProducer.h.

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

Definition at line 39 of file CalibratedElectronProducer.h.

std::string CalibratedElectronProducer::scaleCorrectionsInputPath
private

Definition at line 60 of file CalibratedElectronProducer.h.

bool CalibratedElectronProducer::synchronization
private

Definition at line 52 of file CalibratedElectronProducer.h.

ElectronEnergyCalibrator* CalibratedElectronProducer::theEnCorrector
private

Definition at line 63 of file CalibratedElectronProducer.h.

bool CalibratedElectronProducer::updateEnergyError
private

Definition at line 47 of file CalibratedElectronProducer.h.

bool CalibratedElectronProducer::verbose
private