49 produces<ticl::SimToRecoCollectionSimTracksters>(
"simToReco");
50 produces<ticl::RecoToSimCollectionSimTracksters>(
"recoToSim");
58 consumes<ticl::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<ticl::RecoToSimCollectionSimTracksters>(recSimColl);
97 auto str = std::make_unique<ticl::SimToRecoCollectionSimTracksters>(simRecColl);
edm::EDGetTokenT< CaloParticleCollection > CPCollectionToken_
ticl::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< ticl::TracksterToSimTracksterHitLCAssociator > associatorToken_
#define DEFINE_FWK_MODULE(type)
~TSToSimTSHitLCAssociatorEDProducer() override
edm::EDGetTokenT< reco::CaloClusterCollection > LCCollectionToken_
ticl::validationType valType_
edm::EDGetTokenT< ticl::TracksterCollection > SimTSFromCPCollectionToken_
edm::EDGetTokenT< SimClusterCollection > SCCollectionToken_
ticl::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.
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
TSToSimTSHitLCAssociatorEDProducer(const edm::ParameterSet &)
edm::EDGetTokenT< ticl::TracksterCollection > SimTSCollectionToken_