CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 hgcal {
15 
17  public:
18  TracksterToSimClusterAssociator(std::unique_ptr<hgcal::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 hgcal
47 
48 #endif
std::unique_ptr< TracksterToSimClusterAssociatorBaseImpl > m_impl
hgcal::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.
hgcal::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.
TracksterToSimClusterAssociator & operator=(TracksterToSimClusterAssociator &&)=default