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 ticl {
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 ticl
57 
58 #endif
edm::AssociationMap< edm::OneToManyWithQualityGeneric< ticl::TracksterCollection, ticl::TracksterCollection, std::pair< float, float > > > RecoToSimCollectionSimTracksters
ticl::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
virtual ticl::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.
std::tuple< sharedEnergyAndScore_t, sharedEnergyAndScore_t > association_t
edm::AssociationMap< edm::OneToManyWithQualityGeneric< ticl::TracksterCollection, ticl::TracksterCollection, std::pair< float, float > > > SimToRecoCollectionSimTracksters
std::vector< std::vector< std::pair< float, float > > > sharedEnergyAndScore_t
virtual ticl::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.
Definition: Common.h:10
std::vector< SimCluster > SimClusterCollection