CMS 3D CMS Logo

TracksterToSimTracksterAssociator.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_TracksterToSimTracksterAssociator_h
2 #define SimDataFormats_Associations_TracksterToSimTracksterAssociator_h
3 // Original Author: Leonardo Cristella
4 
5 // system include files
6 #include <memory>
7 
8 // user include files
9 
11 
12 // forward declarations
13 
14 namespace hgcal {
15 
17  public:
18  TracksterToSimTracksterAssociator(std::unique_ptr<hgcal::TracksterToSimTracksterAssociatorBaseImpl>);
24  delete; // stop default
25 
27 
28  // ---------- const member functions ---------------------
33  const edm::Handle<ticl::TracksterCollection> &sTCH) const {
34  return m_impl->associateRecoToSim(tCH, lCCH, sTCH);
35  };
36 
41  const edm::Handle<ticl::TracksterCollection> &sTCH) const {
42  return m_impl->associateSimToReco(tCH, lCCH, sTCH);
43  }
44 
45  private:
46  // ---------- member data --------------------------------
47  std::unique_ptr<TracksterToSimTracksterAssociatorBaseImpl> m_impl;
48  };
49 } // namespace hgcal
50 
51 #endif
TracksterToSimTracksterAssociator & operator=(TracksterToSimTracksterAssociator &&)=default
hgcal::RecoToSimCollectionSimTracksters associateRecoToSim(const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const
Associate a Trackster to SimClusters.
std::unique_ptr< TracksterToSimTracksterAssociatorBaseImpl > m_impl
hgcal::SimToRecoCollectionSimTracksters associateSimToReco(const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const
Associate a SimCluster to Tracksters.