75 label_tr(pset.getParameter< edm::InputTag >(
"label_tr")),
76 label_tp(pset.getParameter< edm::InputTag >(
"label_tp")),
77 associator(pset.getParameter< std::string >(
"associator"))
80 produces<reco::TrackCollection>();
115 for (
unsigned int iT=0;iT!=trackCollection->size();++iT){
119 if (recSimColl.find(track)!=recSimColl.end()){
121 std::vector<std::pair<TrackingParticleRef, double> > tp= recSimColl[track];
135 iEvent.
put(outTracks);
#define DEFINE_FWK_MODULE(type)
virtual void produce(edm::Event &, const edm::EventSetup &)
std::vector< Track > TrackCollection
collection of Tracks
TrackMCQuality(const edm::ParameterSet &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
edm::ESHandle< TrackAssociatorBase > theAssociator