CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LayerClusterToSimClusterAssociator.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_LayerClusterToSimClusterAssociator_h
2 #define SimDataFormats_Associations_LayerClusterToSimClusterAssociator_h
3 // Original Author: Marco Rovere
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  LayerClusterToSimClusterAssociator(std::unique_ptr<hgcal::LayerClusterToSimClusterAssociatorBaseImpl>);
23 
26  delete; // stop default
27  // ---------- const member functions ---------------------
30  const edm::Handle<SimClusterCollection> &sCCH) const {
31  return m_impl->associateRecoToSim(cCCH, sCCH);
32  };
33 
36  const edm::Handle<SimClusterCollection> &sCCH) const {
37  return m_impl->associateSimToReco(cCCH, sCCH);
38  }
39 
40  private:
41  // ---------- member data --------------------------------
42  std::unique_ptr<LayerClusterToSimClusterAssociatorBaseImpl> m_impl;
43  };
44 } // namespace hgcal
45 
46 #endif
std::unique_ptr< LayerClusterToSimClusterAssociatorBaseImpl > m_impl
hgcal::SimToRecoCollectionWithSimClusters associateSimToReco(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a SimCluster to LayerClusters.
hgcal::RecoToSimCollectionWithSimClusters associateRecoToSim(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a LayerCluster to SimClusters.
LayerClusterToSimClusterAssociator & operator=(LayerClusterToSimClusterAssociator &&)=default