60 consumes<hgcal::LayerClusterToSimTracksterAssociator>(pset.getParameter<edm::
InputTag>(
"associator"))),
62 associatorCP_(pset.getParameter<edm::
InputTag>(
"associator_cp")),
66 associatorSC_(pset.getParameter<edm::
InputTag>(
"associator_sc")),
69 produces<hgcal::SimTracksterToRecoCollection>();
70 produces<hgcal::RecoToSimTracksterCollection>();
103 LogTrace(
"AssociatorValidator") <<
"Calling associateRecoToSim method\n";
105 LCCollection, SimTSCollection, CPCollection, LCToCPsColl, SCCollection, LCToSCsColl);
107 LogTrace(
"AssociatorValidator") <<
"Calling associateSimToReco method\n";
109 LCCollection, SimTSCollection, CPCollection, CPToLCsColl, SCCollection, SCToLCsColl);
111 auto rts = std::make_unique<hgcal::RecoToSimTracksterCollection>(recSimColl);
112 auto str = std::make_unique<hgcal::SimTracksterToRecoCollection>(simRecColl);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< ticl::TracksterCollection > SimTSCollectionToken_
#define DEFINE_FWK_MODULE(type)
edm::AssociationMap< edm::OneToManyWithQualityGeneric< CaloParticleCollection, reco::CaloClusterCollection, std::pair< float, float > > > SimToRecoCollection
edm::EDGetTokenT< hgcal::RecoToSimCollection > associationMapLCToCPToken_
edm::InputTag associatorCP_
edm::EDGetTokenT< hgcal::SimToRecoCollectionWithSimClusters > associationMapSCToLCToken_
LCToSimTSAssociatorEDProducer(const edm::ParameterSet &)
bool get(ProductID const &oid, Handle< PROD > &result) const
std::vector< CaloCluster > CaloClusterCollection
collection of CaloCluster objects
edm::EDGetTokenT< hgcal::LayerClusterToSimTracksterAssociator > associatorToken_
edm::EDGetTokenT< SimClusterCollection > SCCollectionToken_
edm::AssociationMap< edm::OneToManyWithQualityGeneric< SimClusterCollection, reco::CaloClusterCollection, std::pair< float, float > > > SimToRecoCollectionWithSimClusters
edm::EDGetTokenT< reco::CaloClusterCollection > LCCollectionToken_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
std::vector< CaloParticle > CaloParticleCollection
edm::AssociationMap< edm::OneToManyWithQualityGeneric< reco::CaloClusterCollection, SimClusterCollection, float > > RecoToSimCollectionWithSimClusters
std::vector< Trackster > TracksterCollection
edm::EDGetTokenT< hgcal::RecoToSimCollectionWithSimClusters > associationMapLCToSCToken_
edm::InputTag associatorSC_
std::vector< SimCluster > SimClusterCollection
edm::EDGetTokenT< hgcal::SimToRecoCollection > associationMapCPToLCToken_
edm::AssociationMap< edm::OneToManyWithQualityGeneric< reco::CaloClusterCollection, CaloParticleCollection, float > > RecoToSimCollection
edm::EDGetTokenT< CaloParticleCollection > CPCollectionToken_
~LCToSimTSAssociatorEDProducer() override