#include <GsfElectronProducer.h>
Public Member Functions | |
GsfElectronProducer (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
virtual | ~GsfElectronProducer () |
Description: EDProducer of GsfElectron objects
Implementation: <Notes on="" implementation>="">
Definition at line 7 of file GsfElectronProducer.h.
GsfElectronProducer::GsfElectronProducer | ( | const edm::ParameterSet & | cfg | ) | [explicit] |
Definition at line 79 of file GsfElectronProducer.cc.
: GsfElectronBaseProducer(cfg) {}
GsfElectronProducer::~GsfElectronProducer | ( | ) | [virtual] |
Definition at line 83 of file GsfElectronProducer.cc.
{}
void GsfElectronProducer::produce | ( | edm::Event & | event, |
const edm::EventSetup & | setup | ||
) | [virtual] |
Implements edm::EDProducer.
Definition at line 86 of file GsfElectronProducer.cc.
References GsfElectronAlgo::StrategyConfiguration::addPflowElectrons, GsfElectronAlgo::addPflowInfo(), GsfElectronBaseProducer::algo_, GsfElectronBaseProducer::beginEvent(), GsfElectronAlgo::clonePreviousElectrons(), GsfElectronAlgo::completeElectrons(), GsfElectronBaseProducer::endEvent(), GsfElectronBaseProducer::fillEvent(), and GsfElectronBaseProducer::strategyCfg_.
{ beginEvent(event,setup) ; algo_->clonePreviousElectrons() ; // don't add pflow only electrons if one so wish if (strategyCfg_.addPflowElectrons) { algo_->completeElectrons() ; } algo_->addPflowInfo() ; fillEvent(event) ; endEvent() ; }