#include <GsfElectronCoreEcalDrivenProducer.h>
GsfElectronCoreEcalDrivenProducer::GsfElectronCoreEcalDrivenProducer |
( |
const edm::ParameterSet & |
conf | ) |
|
|
explicit |
GsfElectronCoreEcalDrivenProducer::~GsfElectronCoreEcalDrivenProducer |
( |
| ) |
|
|
override |
Definition at line 31 of file GsfElectronCoreEcalDrivenProducer.cc.
References lowPtElectrons_cff::electrons, GsfElectronCoreBaseProducer::gsfPfRecTracksH_, GsfElectronCoreBaseProducer::gsfTracksH_, mps_fire::i, GsfElectronCoreBaseProducer::initEvent(), eostools::move(), produceEcalDrivenCore(), edm::Handle< T >::product(), and GsfElectronCoreBaseProducer::useGsfPfRecTracks_.
37 auto electrons = std::make_unique<GsfElectronCoreCollection>();
43 GsfPFRecTrackCollection::const_iterator gsfPfRecTrack ;
44 for ( gsfPfRecTrack=gsfPfRecTrackCollection->begin() ;
45 gsfPfRecTrack!=gsfPfRecTrackCollection->end() ;
48 const GsfTrackRef gsfTrackRef = gsfPfRecTrack->gsfTrackRef() ;
55 for (
unsigned int i=0 ;
i<gsfTrackCollection->size() ; ++
i )
void initEvent(edm::Event &event, const edm::EventSetup &setup)
void produceEcalDrivenCore(const reco::GsfTrackRef &gsfTrackRef, reco::GsfElectronCoreCollection *electrons)
edm::Handle< reco::GsfTrackCollection > gsfTracksH_
std::vector< GsfPFRecTrack > GsfPFRecTrackCollection
collection of GsfPFRecTrack objects
std::vector< GsfTrack > GsfTrackCollection
collection of GsfTracks
T const * product() const
edm::Handle< reco::GsfPFRecTrackCollection > gsfPfRecTracksH_