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
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
~ConversionTrackRefFix() override
std::vector< ConversionTrack > ConversionTrackCollection
collection of ConversionTracks
#define DEFINE_FWK_MODULE(type)
edm::RefToBase< reco::Track > TrackBaseRef
persistent reference to a Track, using views
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 &)