49 produces<hgcal::SimToRecoCollectionSimTracksters>(
"simToReco");
50 produces<hgcal::RecoToSimCollectionSimTracksters>(
"recoToSim");
58 consumes<hgcal::TracksterToSimTracksterHitLCAssociator>(
pset.getParameter<
edm::InputTag>(
"associator"));
87 LogTrace(
"AssociatorValidator") <<
"Calling associateRecoToSim method\n";
90 theAssociator->
associateRecoToSim(TSCollection, LCCollection, SCCollection, CPCollection, SimTSCollection);
92 LogTrace(
"AssociatorValidator") <<
"Calling associateSimToReco method\n";
94 theAssociator->
associateSimToReco(TSCollection, LCCollection, SCCollection, CPCollection, SimTSCollection);
96 auto rts = std::make_unique<hgcal::RecoToSimCollectionSimTracksters>(recSimColl);
97 auto str = std::make_unique<hgcal::SimToRecoCollectionSimTracksters>(simRecColl);
hgcal::validationType valType_
edm::EDGetTokenT< CaloParticleCollection > CPCollectionToken_
hgcal::SimToRecoCollectionSimTracksters associateSimToReco(const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< SimClusterCollection > &sCCH, const edm::Handle< CaloParticleCollection > &cPCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const
Associate a SimCluster to Tracksters.
edm::EDGetTokenT< std::map< uint, std::vector< uint > > > simTrackstersMap_
edm::EDGetTokenT< ticl::TracksterCollection > TSCollectionToken_
edm::EDGetTokenT< hgcal::TracksterToSimTracksterHitLCAssociator > associatorToken_
#define DEFINE_FWK_MODULE(type)
~TSToSimTSHitLCAssociatorEDProducer() override
edm::EDGetTokenT< reco::CaloClusterCollection > LCCollectionToken_
hgcal::RecoToSimCollectionSimTracksters associateRecoToSim(const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< SimClusterCollection > &sCCH, const edm::Handle< CaloParticleCollection > &cPCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const
Associate a Trackster to SimClusters.
edm::EDGetTokenT< ticl::TracksterCollection > SimTSFromCPCollectionToken_
edm::EDGetTokenT< SimClusterCollection > SCCollectionToken_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
TSToSimTSHitLCAssociatorEDProducer(const edm::ParameterSet &)
edm::EDGetTokenT< ticl::TracksterCollection > SimTSCollectionToken_