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 ticl {
15 
17  public:
18  TracksterToSimTracksterAssociator(std::unique_ptr<ticl::TracksterToSimTracksterAssociatorBaseImpl>);
24  delete; // stop default
25 
27 
28  // ---------- const member functions ---------------------
32  const edm::Handle<ticl::TracksterCollection> &sTCH) const {
33  return m_impl->associateRecoToSim(tCH, lCCH, sTCH);
34  };
35 
39  const edm::Handle<ticl::TracksterCollection> &sTCH) const {
40  return m_impl->associateSimToReco(tCH, lCCH, sTCH);
41  }
42 
43  private:
44  // ---------- member data --------------------------------
45  std::unique_ptr<TracksterToSimTracksterAssociatorBaseImpl> m_impl;
46  };
47 } // namespace ticl
48 
49 #endif
std::unique_ptr< TracksterToSimTracksterAssociatorBaseImpl > m_impl
ticl::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.
TracksterToSimTracksterAssociator & operator=(TracksterToSimTracksterAssociator &&)=default
Definition: Common.h:10
ticl::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.