44 virtual void endJob()
override ;
60 label_tr(pset.getParameter< edm::InputTag >(
"label_tr")),
61 label_tp(pset.getParameter< edm::InputTag >(
"label_tp")),
62 associator(pset.getParameter< std::
string >(
"associator")),
63 theIgnoremissingtrackcollection(pset.getUntrackedParameter<bool>(
"ignoremissingtrackcollection",
false))
65 produces<reco::SimToRecoCollection>();
66 produces<reco::RecoToSimCollection>();
99 std::auto_ptr<reco::RecoToSimCollection> rts;
100 std::auto_ptr<reco::SimToRecoCollection> str;
107 LogTrace(
"TrackValidator") <<
"Calling associateRecoToSim method" <<
"\n";
111 LogTrace(
"TrackValidator") <<
"Calling associateSimToReco method" <<
"\n";
edm::EDGetTokenT< edm::View< reco::Track > > trackCollectionToken_
T getParameter(std::string const &) const
virtual void beginJob() override
virtual void produce(edm::Event &, const edm::EventSetup &) override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
~TrackAssociatorEDProducer()
TrackAssociatorEDProducer(const edm::ParameterSet &)
edm::ESHandle< TrackAssociatorBase > theAssociator
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual void endJob() override
volatile std::atomic< bool > shutdown_flag false
bool theIgnoremissingtrackcollection
edm::EDGetTokenT< TrackingParticleCollection > TPCollectionToken_