#include <GsfElectronCoreEcalDrivenProducer.h>
GsfElectronCoreEcalDrivenProducer::GsfElectronCoreEcalDrivenProducer |
( |
const edm::ParameterSet & |
conf | ) |
|
|
explicit |
Definition at line 29 of file GsfElectronCoreEcalDrivenProducer.cc.
References pwdgSkimBPark_cfi::electrons, GsfElectronCoreBaseProducer::gsfPfRecTracksH_, GsfElectronCoreBaseProducer::gsfTracksH_, mps_fire::i, GsfElectronCoreBaseProducer::initEvent(), eostools::move(), produceEcalDrivenCore(), edm::Handle< T >::product(), and GsfElectronCoreBaseProducer::useGsfPfRecTracks_.
34 auto electrons = std::make_unique<GsfElectronCoreCollection>();
39 GsfPFRecTrackCollection::const_iterator gsfPfRecTrack;
40 for (gsfPfRecTrack = gsfPfRecTrackCollection->begin(); gsfPfRecTrack != gsfPfRecTrackCollection->end();
42 const GsfTrackRef gsfTrackRef = gsfPfRecTrack->gsfTrackRef();
47 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_