16 produces<ConversionTrackCollection>();
18 conversionTracksToken = consumes<ConversionTrackCollection>(conversionTracksTag);
19 newTracksToken = consumes<TrackCollection>(newTracksTag);
29 iEvent.
getByToken(conversionTracksToken,conversionTracks);
37 size_t trackIndex =
conversion.trackRef().key();
39 output->back().setTrajRef(
conversion.trajRef());
40 output->back().setIsTrackerOnly(
conversion.isTrackerOnly());
41 output->back().setIsArbitratedEcalSeeded(
conversion.isArbitratedEcalSeeded());
42 output->back().setIsArbitratedMerged(
conversion.isArbitratedMerged());
43 output->back().setIsArbitratedMergedEcalGeneral(
conversion.isArbitratedMergedEcalGeneral());
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< ConversionTrack > ConversionTrackCollection
collection of ConversionTracks
edm::RefToBase< reco::Track > TrackBaseRef
persistent reference to a Track, using views
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual void produce(edm::Event &, const edm::EventSetup &) override
void conversion(EventAux const &from, EventAuxiliary &to)
T const * product() const
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
ConversionTrackRefFix(const edm::ParameterSet &)