50 virtual void endJob()
override ;
72 label_tr(pset.getParameter< edm::
InputTag >(
"label_tr")),
73 label_tp(pset.getParameter< edm::
InputTag >(
"label_tp")),
74 label_associator(pset.getParameter< edm::
InputTag >(
"associator"))
77 consumes<TrackingParticleCollection>(
label_tp);
78 consumes<edm::View<reco::Track> >(
label_tr);
80 produces<reco::TrackCollection>();
118 if (recSimColl.find(track)!=recSimColl.end()){
120 std::vector<std::pair<TrackingParticleRef, double> > tp= recSimColl[track];
134 iEvent.
put(outTracks);
edm::InputTag label_associator
#define DEFINE_FWK_MODULE(type)
std::vector< Track > TrackCollection
collection of Tracks
virtual void endJob() override
TrackMCQuality(const edm::ParameterSet &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual void beginJob() override
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual void produce(edm::Event &, const edm::EventSetup &) override