47 produces<hgcal::SimToRecoCollectionSimTracksters>();
48 produces<hgcal::RecoToSimCollectionSimTracksters>();
79 LogTrace(
"AssociatorValidator") <<
"Calling associateRecoToSim method\n";
81 theAssociator->associateRecoToSim(TSCollection, LCCollection, SimTSCollection);
83 LogTrace(
"AssociatorValidator") <<
"Calling associateSimToReco method\n";
85 theAssociator->associateSimToReco(TSCollection, LCCollection, SimTSCollection);
87 auto rts = std::make_unique<hgcal::RecoToSimCollectionSimTracksters>(recSimColl);
88 auto str = std::make_unique<hgcal::SimToRecoCollectionSimTracksters>(simRecColl);
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)
edm::EDGetTokenT< hgcal::TracksterToSimTracksterAssociator > associatorToken_
TSToSimTSAssociatorEDProducer(const edm::ParameterSet &)
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
edm::EDGetTokenT< ticl::TracksterCollection > SimTSCollectionToken_
~TSToSimTSAssociatorEDProducer() override
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::CaloClusterCollection > LCCollectionToken_
edm::EDGetTokenT< ticl::TracksterCollection > TSCollectionToken_