CMS 3D CMS Logo

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 ticl {
15 
17  public:
18  LayerClusterToSimClusterAssociator(std::unique_ptr<ticl::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 ticl
45 
46 #endif
std::unique_ptr< LayerClusterToSimClusterAssociatorBaseImpl > m_impl
LayerClusterToSimClusterAssociator & operator=(LayerClusterToSimClusterAssociator &&)=default
ticl::RecoToSimCollectionWithSimClusters associateRecoToSim(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a LayerCluster to SimClusters.
Definition: Common.h:10
ticl::SimToRecoCollectionWithSimClusters associateSimToReco(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a SimCluster to LayerClusters.