51 virtual void endJob()
override ;
74 label_tr(pset.getParameter< edm::InputTag >(
"label_tr")),
75 label_tp(pset.getParameter< edm::InputTag >(
"label_tp")),
76 associator(pset.getParameter< std::
string >(
"associator"))
79 produces<reco::TrackCollection>();
114 for (
unsigned int iT=0;iT!=trackCollection->size();++iT){
118 if (recSimColl.find(track)!=recSimColl.end()){
120 std::vector<std::pair<TrackingParticleRef, double> > tp= recSimColl[track];
134 iEvent.
put(outTracks);
#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
edm::ESHandle< TrackAssociatorBase > theAssociator
virtual void produce(edm::Event &, const edm::EventSetup &) override