CMS 3D CMS Logo

TracksterToSimClusterAssociator.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_TracksterToSimClusterAssociator_h
2 #define SimDataFormats_Associations_TracksterToSimClusterAssociator_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  TracksterToSimClusterAssociator(std::unique_ptr<ticl::TracksterToSimClusterAssociatorBaseImpl>);
22  TracksterToSimClusterAssociator(const TracksterToSimClusterAssociator &) = delete; // stop default
23  const TracksterToSimClusterAssociator &operator=(const TracksterToSimClusterAssociator &) = delete; // stop default
24 
26 
27  // ---------- const member functions ---------------------
31  const edm::Handle<SimClusterCollection> &sCCH) const {
32  return m_impl->associateRecoToSim(tCH, lCCH, sCCH);
33  };
34 
38  const edm::Handle<SimClusterCollection> &sCCH) const {
39  return m_impl->associateSimToReco(tCH, lCCH, sCCH);
40  }
41 
42  private:
43  // ---------- member data --------------------------------
44  std::unique_ptr<TracksterToSimClusterAssociatorBaseImpl> m_impl;
45  };
46 } // namespace ticl
47 
48 #endif
TracksterToSimClusterAssociator & operator=(TracksterToSimClusterAssociator &&)=default
Definition: Common.h:10
std::unique_ptr< TracksterToSimClusterAssociatorBaseImpl > m_impl
ticl::RecoToSimCollectionTracksters associateRecoToSim(const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a Trackster to SimClusters.
ticl::SimToRecoCollectionTracksters associateSimToReco(const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a SimCluster to Tracksters.