46 : theIgnoremissingtrackcollection(pset.getUntrackedParameter<bool>(
"ignoremissingtrackcollection",
false)) {
47 produces<reco::SimToRecoCollection>();
48 produces<reco::RecoToSimCollection>();
74 std::unique_ptr<reco::RecoToSimCollection> rts;
75 std::unique_ptr<reco::SimToRecoCollection>
str;
83 LogTrace(
"TrackValidator") <<
"Calling associateRecoToSim method"
87 LogTrace(
"TrackValidator") <<
"Calling associateSimToReco method"
91 rts = std::make_unique<reco::RecoToSimCollection>(recSimColl);
92 str = std::make_unique<reco::SimToRecoCollection>(simRecColl);
edm::EDGetTokenT< edm::View< reco::Track > > trackCollectionToken_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
TrackAssociatorEDProducer(const edm::ParameterSet &)
~TrackAssociatorEDProducer() override
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > associatorToken_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
bool theIgnoremissingtrackcollection
edm::EDGetTokenT< TrackingParticleCollection > TPCollectionToken_