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 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
LayerClusterToSimClusterAssociatorBaseImpl.h
edm::Handle
Definition: AssociativeIterator.h:50
hgcal
Definition: EgammaPCAHelper.h:31
hgcal::LayerClusterToSimClusterAssociator::m_impl
std::unique_ptr< LayerClusterToSimClusterAssociatorBaseImpl > m_impl
Definition: LayerClusterToSimClusterAssociator.h:42
edm::AssociationMap
Definition: AssociationMap.h:48
hgcal::LayerClusterToSimClusterAssociator::associateSimToReco
hgcal::SimToRecoCollectionWithSimClusters associateSimToReco(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a SimCluster to LayerClusters.
Definition: LayerClusterToSimClusterAssociator.h:35
hgcal::LayerClusterToSimClusterAssociator::associateRecoToSim
hgcal::RecoToSimCollectionWithSimClusters associateRecoToSim(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a LayerCluster to SimClusters.
Definition: LayerClusterToSimClusterAssociator.h:29
hgcal::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator
LayerClusterToSimClusterAssociator()=default
hgcal::LayerClusterToSimClusterAssociator
Definition: LayerClusterToSimClusterAssociator.h:16
hgcal::LayerClusterToSimClusterAssociator::~LayerClusterToSimClusterAssociator
~LayerClusterToSimClusterAssociator()=default
hgcal::LayerClusterToSimClusterAssociator::operator=
LayerClusterToSimClusterAssociator & operator=(LayerClusterToSimClusterAssociator &&)=default