CMS 3D CMS Logo

List of all members | Public Member Functions | Private 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 ()=default
 
 MultiClusterToCaloParticleAssociator (MultiClusterToCaloParticleAssociator &&)=default
 
 MultiClusterToCaloParticleAssociator (std::unique_ptr< hgcal::MultiClusterToCaloParticleAssociatorBaseImpl >)
 
MultiClusterToCaloParticleAssociatoroperator= (MultiClusterToCaloParticleAssociator &&)=default
 
 ~MultiClusterToCaloParticleAssociator ()=default
 

Private Member Functions

 MultiClusterToCaloParticleAssociator (const MultiClusterToCaloParticleAssociator &)=delete
 
const MultiClusterToCaloParticleAssociatoroperator= (const MultiClusterToCaloParticleAssociator &)=delete
 

Private Attributes

std::unique_ptr< MultiClusterToCaloParticleAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 16 of file MultiClusterToCaloParticleAssociator.h.

Constructor & Destructor Documentation

◆ MultiClusterToCaloParticleAssociator() [1/4]

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

Definition at line 5 of file MultiClusterToCaloParticleAssociator.cc.

7  : m_impl(std::move(ptr)) {}

◆ MultiClusterToCaloParticleAssociator() [2/4]

hgcal::MultiClusterToCaloParticleAssociator::MultiClusterToCaloParticleAssociator ( )
default

◆ MultiClusterToCaloParticleAssociator() [3/4]

hgcal::MultiClusterToCaloParticleAssociator::MultiClusterToCaloParticleAssociator ( MultiClusterToCaloParticleAssociator &&  )
default

◆ ~MultiClusterToCaloParticleAssociator()

hgcal::MultiClusterToCaloParticleAssociator::~MultiClusterToCaloParticleAssociator ( )
default

◆ MultiClusterToCaloParticleAssociator() [4/4]

hgcal::MultiClusterToCaloParticleAssociator::MultiClusterToCaloParticleAssociator ( const MultiClusterToCaloParticleAssociator )
privatedelete

Member Function Documentation

◆ associateRecoToSim()

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 26 of file MultiClusterToCaloParticleAssociator.h.

28  {
29  return m_impl->associateRecoToSim(cCCH, cPCH);
30  };

References m_impl.

Referenced by MCToCPAssociatorEDProducer::produce().

◆ associateSimToReco()

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 33 of file MultiClusterToCaloParticleAssociator.h.

35  {
36  return m_impl->associateSimToReco(cCCH, cPCH);
37  }

References m_impl.

Referenced by MCToCPAssociatorEDProducer::produce().

◆ operator=() [1/2]

const MultiClusterToCaloParticleAssociator& hgcal::MultiClusterToCaloParticleAssociator::operator= ( const MultiClusterToCaloParticleAssociator )
privatedelete

◆ operator=() [2/2]

MultiClusterToCaloParticleAssociator& hgcal::MultiClusterToCaloParticleAssociator::operator= ( MultiClusterToCaloParticleAssociator &&  )
default

Member Data Documentation

◆ m_impl

std::unique_ptr<MultiClusterToCaloParticleAssociatorBaseImpl> hgcal::MultiClusterToCaloParticleAssociator::m_impl
private
hgcal::MultiClusterToCaloParticleAssociator::m_impl
std::unique_ptr< MultiClusterToCaloParticleAssociatorBaseImpl > m_impl
Definition: MultiClusterToCaloParticleAssociator.h:46
eostools.move
def move(src, dest)
Definition: eostools.py:511