CMS 3D CMS Logo

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 MultiClusterToCaloParticleAssociatoroperator= (const MultiClusterToCaloParticleAssociator &)=delete
 
 ~MultiClusterToCaloParticleAssociator ()=default
 

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)) {}
std::unique_ptr< MultiClusterToCaloParticleAssociatorBaseImpl > m_impl
def move(src, dest)
Definition: eostools.py:511

◆ MultiClusterToCaloParticleAssociator() [2/4]

hgcal::MultiClusterToCaloParticleAssociator::MultiClusterToCaloParticleAssociator ( )
default

◆ MultiClusterToCaloParticleAssociator() [3/4]

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

◆ MultiClusterToCaloParticleAssociator() [4/4]

hgcal::MultiClusterToCaloParticleAssociator::MultiClusterToCaloParticleAssociator ( const MultiClusterToCaloParticleAssociator )
delete

◆ ~MultiClusterToCaloParticleAssociator()

hgcal::MultiClusterToCaloParticleAssociator::~MultiClusterToCaloParticleAssociator ( )
default

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

References m_impl.

Referenced by MCToCPAssociatorEDProducer::produce().

32  {
33  return m_impl->associateRecoToSim(cCCH, cPCH);
34  };
std::unique_ptr< MultiClusterToCaloParticleAssociatorBaseImpl > m_impl

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

References m_impl.

Referenced by MCToCPAssociatorEDProducer::produce().

39  {
40  return m_impl->associateSimToReco(cCCH, cPCH);
41  }
std::unique_ptr< MultiClusterToCaloParticleAssociatorBaseImpl > m_impl

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

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