CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
hgcal::MultiClusterToCaloParticleAssociator Class Reference

#include <MultiClusterToCaloParticleAssociator.h>

Public Member Functions

hgcal::RecoToSimCollectionWithMultiClusters associateRecoToSim (const edm::Handle< reco::HGCalMultiClusterCollection > &cCCH, const edm::Handle< CaloParticleCollection > &cPCH) const
 Associate a MultiCluster to CaloParticles. More...
 
hgcal::SimToRecoCollectionWithMultiClusters associateSimToReco (const edm::Handle< reco::HGCalMultiClusterCollection > &cCCH, const edm::Handle< CaloParticleCollection > &cPCH) const
 Associate a CaloParticle to MultiClusters. More...
 
 MultiClusterToCaloParticleAssociator (std::unique_ptr< hgcal::MultiClusterToCaloParticleAssociatorBaseImpl >)
 
 MultiClusterToCaloParticleAssociator ()=default
 
 MultiClusterToCaloParticleAssociator (MultiClusterToCaloParticleAssociator &&)=default
 
 MultiClusterToCaloParticleAssociator (const MultiClusterToCaloParticleAssociator &)=delete
 
MultiClusterToCaloParticleAssociatoroperator= (MultiClusterToCaloParticleAssociator &&)=default
 
const
MultiClusterToCaloParticleAssociator
operator= (const MultiClusterToCaloParticleAssociator &)=delete
 
 ~MultiClusterToCaloParticleAssociator ()=default
 

Private Attributes

std::unique_ptr
< MultiClusterToCaloParticleAssociatorBaseImpl
m_impl
 

Detailed Description

Definition at line 16 of file MultiClusterToCaloParticleAssociator.h.

Constructor & Destructor Documentation

hgcal::MultiClusterToCaloParticleAssociator::MultiClusterToCaloParticleAssociator ( std::unique_ptr< hgcal::MultiClusterToCaloParticleAssociatorBaseImpl ptr)

Definition at line 5 of file MultiClusterToCaloParticleAssociator.cc.

7  : m_impl(std::move(ptr)) {}
std::unique_ptr< MultiClusterToCaloParticleAssociatorBaseImpl > m_impl
def move
Definition: eostools.py:511
hgcal::MultiClusterToCaloParticleAssociator::MultiClusterToCaloParticleAssociator ( )
default
hgcal::MultiClusterToCaloParticleAssociator::MultiClusterToCaloParticleAssociator ( MultiClusterToCaloParticleAssociator &&  )
default
hgcal::MultiClusterToCaloParticleAssociator::MultiClusterToCaloParticleAssociator ( const MultiClusterToCaloParticleAssociator )
delete
hgcal::MultiClusterToCaloParticleAssociator::~MultiClusterToCaloParticleAssociator ( )
default

Member Function Documentation

hgcal::RecoToSimCollectionWithMultiClusters hgcal::MultiClusterToCaloParticleAssociator::associateRecoToSim ( const edm::Handle< reco::HGCalMultiClusterCollection > &  cCCH,
const edm::Handle< CaloParticleCollection > &  cPCH 
) const
inline

Associate a MultiCluster to CaloParticles.

Definition at line 30 of file MultiClusterToCaloParticleAssociator.h.

References m_impl.

32  {
33  return m_impl->associateRecoToSim(cCCH, cPCH);
34  };
std::unique_ptr< MultiClusterToCaloParticleAssociatorBaseImpl > m_impl
hgcal::SimToRecoCollectionWithMultiClusters hgcal::MultiClusterToCaloParticleAssociator::associateSimToReco ( const edm::Handle< reco::HGCalMultiClusterCollection > &  cCCH,
const edm::Handle< CaloParticleCollection > &  cPCH 
) const
inline

Associate a CaloParticle to MultiClusters.

Definition at line 37 of file MultiClusterToCaloParticleAssociator.h.

References m_impl.

39  {
40  return m_impl->associateSimToReco(cCCH, cPCH);
41  }
std::unique_ptr< MultiClusterToCaloParticleAssociatorBaseImpl > m_impl
MultiClusterToCaloParticleAssociator& hgcal::MultiClusterToCaloParticleAssociator::operator= ( MultiClusterToCaloParticleAssociator &&  )
default
const MultiClusterToCaloParticleAssociator& hgcal::MultiClusterToCaloParticleAssociator::operator= ( const MultiClusterToCaloParticleAssociator )
delete

Member Data Documentation

std::unique_ptr<MultiClusterToCaloParticleAssociatorBaseImpl> hgcal::MultiClusterToCaloParticleAssociator::m_impl
private