38 auto redGeneralTracksCollection = std::make_unique<TrackCollection>();
39 auto redGeneralTracksExtraCollection = std::make_unique<TrackExtraCollection>();
41 reco::GsfElectronCollection::const_iterator eleIt;
50 redGeneralTracksCollection->push_back(*
track);
51 if (generalTracksExtraHandle.
isValid())
52 redGeneralTracksExtraCollection->push_back(*(
track->extra()));
edm::EDGetTokenT< reco::TrackCollection > generalTracksToken_
T getParameter(std::string const &) const
AlCaElectronTracksReducer(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
T const * product() const
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
edm::EDGetTokenT< reco::GsfElectronCollection > electronToken_
std::string alcaTrackCollection_
edm::EDGetTokenT< reco::TrackExtraCollection > generalTracksExtraToken_
std::string alcaTrackExtraCollection_