47 produces<hgcal::SimToRecoCollectionWithMultiClusters>();
48 produces<hgcal::RecoToSimCollectionWithMultiClusters>();
76 LogTrace(
"AssociatorValidator") <<
"Calling associateRecoToSim method"
79 theAssociator->associateRecoToSim(MCCollection, CPCollection);
81 LogTrace(
"AssociatorValidator") <<
"Calling associateSimToReco method"
84 theAssociator->associateSimToReco(MCCollection, CPCollection);
86 auto rts = std::make_unique<hgcal::RecoToSimCollectionWithMultiClusters>(recSimColl);
87 auto str = std::make_unique<hgcal::SimToRecoCollectionWithMultiClusters>(simRecColl);
edm::EDGetTokenT< CaloParticleCollection > CPCollectionToken_
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< reco::HGCalMultiClusterCollection > MCCollectionToken_
MCToCPAssociatorEDProducer(const edm::ParameterSet &)
edm::EDGetTokenT< hgcal::MultiClusterToCaloParticleAssociator > associatorToken_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
T getParameter(std::string const &) const
~MCToCPAssociatorEDProducer() override