46 produces<hgcal::SimToRecoCollectionWithSimClusters>();
47 produces<hgcal::RecoToSimCollectionWithSimClusters>();
52 consumes<hgcal::LayerClusterToSimClusterAssociator>(
pset.getParameter<
edm::InputTag>(
"associator"));
75 LogTrace(
"AssociatorValidator") <<
"Calling associateRecoToSim method\n";
78 LogTrace(
"AssociatorValidator") <<
"Calling associateSimToReco method\n";
81 auto rts = std::make_unique<hgcal::RecoToSimCollectionWithSimClusters>(recSimColl);
82 auto str = std::make_unique<hgcal::SimToRecoCollectionWithSimClusters>(simRecColl);
hgcal::SimToRecoCollectionWithSimClusters associateSimToReco(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a SimCluster to LayerClusters.
hgcal::RecoToSimCollectionWithSimClusters associateRecoToSim(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a LayerCluster to SimClusters.
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< SimClusterCollection > SCCollectionToken_
LCToSCAssociatorEDProducer(const edm::ParameterSet &)
~LCToSCAssociatorEDProducer() override
edm::EDGetTokenT< reco::CaloClusterCollection > LCCollectionToken_
edm::EDGetTokenT< hgcal::LayerClusterToSimClusterAssociator > associatorToken_