CMS 3D CMS Logo

TracksterToSimTracksterHitLCAssociator.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_TracksterToSimTracksterHitLCAssociator_h
2 #define SimDataFormats_Associations_TracksterToSimTracksterHitLCAssociator_h
3 // Original Author: Leonardo Cristella
4 
5 // system include files
6 #include <memory>
7 
8 // user include files
9 
11 
12 namespace ticl {
13 
15  public:
16  TracksterToSimTracksterHitLCAssociator(std::unique_ptr<ticl::TracksterToSimTracksterHitLCAssociatorBaseImpl>);
22 
24 
29  const edm::Handle<ticl::TracksterCollection> &sTCH) const {
30  return m_impl->makeConnections(tCH, lCCH, sCCH, cPCH, sTCH);
31  }
37  const edm::Handle<ticl::TracksterCollection> &sTCH) const {
38  return m_impl->associateRecoToSim(tCH, lCCH, sCCH, cPCH, sTCH);
39  };
40 
46  const edm::Handle<ticl::TracksterCollection> &sTCH) const {
47  return m_impl->associateSimToReco(tCH, lCCH, sCCH, cPCH, sTCH);
48  }
49 
50  private:
51  std::unique_ptr<TracksterToSimTracksterHitLCAssociatorBaseImpl> m_impl;
52  };
53 } // namespace ticl
54 
55 #endif
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::unique_ptr< TracksterToSimTracksterHitLCAssociatorBaseImpl > m_impl
std::tuple< sharedEnergyAndScore_t, sharedEnergyAndScore_t > association_t
TracksterToSimTracksterHitLCAssociator & operator=(TracksterToSimTracksterHitLCAssociator &&)=default
Definition: Common.h:10
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.
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