Go to the documentation of this file.
60 consumes<
hgcal::LayerClusterToSimTracksterAssociator>(
pset.getParameter<
edm::
InputTag>(
"associator"))),
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);
edm::EDGetTokenT< reco::CaloClusterCollection > LCCollectionToken_
std::vector< SimCluster > SimClusterCollection
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
edm::AssociationMap< edm::OneToManyWithQualityGeneric< reco::CaloClusterCollection, CaloParticleCollection, float > > RecoToSimCollection
edm::EDGetTokenT< hgcal::SimToRecoCollection > associationMapCPToLCToken_
edm::EDGetTokenT< hgcal::SimToRecoCollectionWithSimClusters > associationMapSCToLCToken_
edm::EDGetTokenT< hgcal::RecoToSimCollection > associationMapLCToCPToken_
LCToSimTSAssociatorEDProducer(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
hgcal::RecoToSimTracksterCollection associateRecoToSim(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< ticl::TracksterCollection > &stCH, const edm::Handle< CaloParticleCollection > &cPCH, const hgcal::RecoToSimCollection &lCToCPs, const edm::Handle< SimClusterCollection > &sCCH, const hgcal::RecoToSimCollectionWithSimClusters &lCToSCs) const
Associate a LayerCluster to SimTracksters.
hgcal::SimTracksterToRecoCollection associateSimToReco(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< ticl::TracksterCollection > &sTCH, const edm::Handle< CaloParticleCollection > &cPCH, const hgcal::SimToRecoCollection &cpToLCs, const edm::Handle< SimClusterCollection > &sCCH, const hgcal::SimToRecoCollectionWithSimClusters &sCToLCs) const
Associate a SimTrackster to LayerClusters.
std::vector< CaloCluster > CaloClusterCollection
collection of CaloCluster objects
std::vector< CaloParticle > CaloParticleCollection
edm::AssociationMap< edm::OneToManyWithQualityGeneric< SimClusterCollection, reco::CaloClusterCollection, std::pair< float, float > > > SimToRecoCollectionWithSimClusters
edm::EDGetTokenT< hgcal::RecoToSimCollectionWithSimClusters > associationMapLCToSCToken_
edm::InputTag associatorSC_
edm::InputTag associatorCP_
~LCToSimTSAssociatorEDProducer() override
std::vector< Trackster > TracksterCollection
edm::AssociationMap< edm::OneToManyWithQualityGeneric< reco::CaloClusterCollection, SimClusterCollection, float > > RecoToSimCollectionWithSimClusters
edm::AssociationMap< edm::OneToManyWithQualityGeneric< CaloParticleCollection, reco::CaloClusterCollection, std::pair< float, float > > > SimToRecoCollection
edm::EDGetTokenT< CaloParticleCollection > CPCollectionToken_
edm::EDGetTokenT< ticl::TracksterCollection > SimTSCollectionToken_
edm::EDGetTokenT< hgcal::LayerClusterToSimTracksterAssociator > associatorToken_
edm::EDGetTokenT< SimClusterCollection > SCCollectionToken_