CMS 3D CMS Logo

TracksterToSimTracksterHitLCAssociatorBaseImpl.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_TracksterToSimTracksterHitLCAssociatorBaseImpl_h
2 #define SimDataFormats_Associations_TracksterToSimTracksterHitLCAssociatorBaseImpl_h
3 
8 
10 typedef std::vector<SimCluster> SimClusterCollection;
12 
13 namespace hgcal {
14 
16 
17  typedef std::vector<std::vector<std::pair<float, float>>> sharedEnergyAndScore_t;
18  // This is used to save the simTracksterOnLayer structure for all simTracksters.
19  // It is not exactly what is returned outside, but out of its entries, the output object is build.
20  typedef std::tuple<sharedEnergyAndScore_t, sharedEnergyAndScore_t> association_t;
21 
22  typedef edm::AssociationMap<
26 
28  public:
33 
38  const edm::Handle<ticl::TracksterCollection> &sTCH) const;
39 
46  const edm::Handle<ticl::TracksterCollection> &sTCH) const;
47 
54  const edm::Handle<ticl::TracksterCollection> &sTCH) const;
55  };
56 } // namespace hgcal
57 
58 #endif
std::tuple< sharedEnergyAndScore_t, sharedEnergyAndScore_t > association_t
virtual hgcal::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.
std::vector< std::vector< std::pair< float, float > > > sharedEnergyAndScore_t
virtual hgcal::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.
hgcal::association_t makeConnections(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
edm::AssociationMap< edm::OneToManyWithQualityGeneric< ticl::TracksterCollection, ticl::TracksterCollection, std::pair< float, float > > > RecoToSimCollectionSimTracksters
std::vector< SimCluster > SimClusterCollection
edm::AssociationMap< edm::OneToManyWithQualityGeneric< ticl::TracksterCollection, ticl::TracksterCollection, std::pair< float, float > > > SimToRecoCollectionSimTracksters