CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MultiClusterToCaloParticleAssociator.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_MultiClusterToCaloParticleAssociator_h
2 #define SimDataFormats_Associations_MultiClusterToCaloParticleAssociator_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  MultiClusterToCaloParticleAssociator(std::unique_ptr<hgcal::MultiClusterToCaloParticleAssociatorBaseImpl>);
24  delete; // stop default
25 
27 
28  // ---------- const member functions ---------------------
32  const edm::Handle<CaloParticleCollection> &cPCH) const {
33  return m_impl->associateRecoToSim(cCCH, cPCH);
34  };
35 
39  const edm::Handle<CaloParticleCollection> &cPCH) const {
40  return m_impl->associateSimToReco(cCCH, cPCH);
41  }
42 
43  private:
44  // ---------- member data --------------------------------
45  std::unique_ptr<MultiClusterToCaloParticleAssociatorBaseImpl> m_impl;
46  };
47 } // namespace hgcal
48 
49 #endif
MultiClusterToCaloParticleAssociator & operator=(MultiClusterToCaloParticleAssociator &&)=default
std::unique_ptr< MultiClusterToCaloParticleAssociatorBaseImpl > m_impl
hgcal::SimToRecoCollectionWithMultiClusters associateSimToReco(const edm::Handle< reco::HGCalMultiClusterCollection > &cCCH, const edm::Handle< CaloParticleCollection > &cPCH) const
Associate a CaloParticle to MultiClusters.
hgcal::RecoToSimCollectionWithMultiClusters associateRecoToSim(const edm::Handle< reco::HGCalMultiClusterCollection > &cCCH, const edm::Handle< CaloParticleCollection > &cPCH) const
Associate a MultiCluster to CaloParticles.