CMS 3D CMS Logo

LayerClusterToCaloParticleAssociator.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_LayerClusterToCaloParticleAssociator_h
2 #define SimDataFormats_Associations_LayerClusterToCaloParticleAssociator_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  LayerClusterToCaloParticleAssociator(std::unique_ptr<hgcal::LayerClusterToCaloParticleAssociatorBaseImpl>);
23 
24  // ---------- const member functions ---------------------
27  const edm::Handle<CaloParticleCollection> &cPCH) const {
28  return m_impl->associateRecoToSim(cCCH, cPCH);
29  };
30 
33  const edm::Handle<CaloParticleCollection> &cPCH) const {
34  return m_impl->associateSimToReco(cCCH, cPCH);
35  }
36 
37  private:
39 
41  delete; // stop default
42 
43  // ---------- member data --------------------------------
44  std::unique_ptr<LayerClusterToCaloParticleAssociatorBaseImpl> m_impl;
45  };
46 } // namespace hgcal
47 
48 #endif
hgcal::LayerClusterToCaloParticleAssociator::associateSimToReco
hgcal::SimToRecoCollection associateSimToReco(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< CaloParticleCollection > &cPCH) const
Associate a CaloParticle to LayerClusters.
Definition: LayerClusterToCaloParticleAssociator.h:32
hgcal::LayerClusterToCaloParticleAssociator::~LayerClusterToCaloParticleAssociator
~LayerClusterToCaloParticleAssociator()=default
hgcal::LayerClusterToCaloParticleAssociator::operator=
LayerClusterToCaloParticleAssociator & operator=(LayerClusterToCaloParticleAssociator &&)=default
hgcal::LayerClusterToCaloParticleAssociator::LayerClusterToCaloParticleAssociator
LayerClusterToCaloParticleAssociator()=default
hgcal::LayerClusterToCaloParticleAssociator::associateRecoToSim
hgcal::RecoToSimCollection associateRecoToSim(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< CaloParticleCollection > &cPCH) const
Associate a LayerCluster to CaloParticles.
Definition: LayerClusterToCaloParticleAssociator.h:26
hgcal::LayerClusterToCaloParticleAssociator::m_impl
std::unique_ptr< LayerClusterToCaloParticleAssociatorBaseImpl > m_impl
Definition: LayerClusterToCaloParticleAssociator.h:44
edm::Handle< reco::CaloClusterCollection >
hgcal
Definition: EgammaPCAHelper.h:31
LayerClusterToCaloParticleAssociatorBaseImpl.h
hgcal::LayerClusterToCaloParticleAssociator
Definition: LayerClusterToCaloParticleAssociator.h:16
edm::AssociationMap
Definition: AssociationMap.h:48