CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
hgcal::LayerClusterToCaloParticleAssociator Class Reference

#include <LayerClusterToCaloParticleAssociator.h>

Public Member Functions

hgcal::RecoToSimCollection associateRecoToSim (const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< CaloParticleCollection > &cPCH) const
 Associate a LayerCluster to CaloParticles. More...
 
hgcal::SimToRecoCollection associateSimToReco (const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< CaloParticleCollection > &cPCH) const
 Associate a CaloParticle to LayerClusters. More...
 
 LayerClusterToCaloParticleAssociator ()=default
 
 LayerClusterToCaloParticleAssociator (LayerClusterToCaloParticleAssociator &&)=default
 
 LayerClusterToCaloParticleAssociator (std::unique_ptr< hgcal::LayerClusterToCaloParticleAssociatorBaseImpl >)
 
LayerClusterToCaloParticleAssociatoroperator= (LayerClusterToCaloParticleAssociator &&)=default
 
 ~LayerClusterToCaloParticleAssociator ()=default
 

Private Member Functions

 LayerClusterToCaloParticleAssociator (const LayerClusterToCaloParticleAssociator &)=delete
 
const LayerClusterToCaloParticleAssociatoroperator= (const LayerClusterToCaloParticleAssociator &)=delete
 

Private Attributes

std::unique_ptr< LayerClusterToCaloParticleAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 16 of file LayerClusterToCaloParticleAssociator.h.

Constructor & Destructor Documentation

◆ LayerClusterToCaloParticleAssociator() [1/4]

hgcal::LayerClusterToCaloParticleAssociator::LayerClusterToCaloParticleAssociator ( std::unique_ptr< hgcal::LayerClusterToCaloParticleAssociatorBaseImpl ptr)

Definition at line 5 of file LayerClusterToCaloParticleAssociator.cc.

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

◆ LayerClusterToCaloParticleAssociator() [2/4]

hgcal::LayerClusterToCaloParticleAssociator::LayerClusterToCaloParticleAssociator ( )
default

◆ LayerClusterToCaloParticleAssociator() [3/4]

hgcal::LayerClusterToCaloParticleAssociator::LayerClusterToCaloParticleAssociator ( LayerClusterToCaloParticleAssociator &&  )
default

◆ ~LayerClusterToCaloParticleAssociator()

hgcal::LayerClusterToCaloParticleAssociator::~LayerClusterToCaloParticleAssociator ( )
default

◆ LayerClusterToCaloParticleAssociator() [4/4]

hgcal::LayerClusterToCaloParticleAssociator::LayerClusterToCaloParticleAssociator ( const LayerClusterToCaloParticleAssociator )
privatedelete

Member Function Documentation

◆ associateRecoToSim()

hgcal::RecoToSimCollection hgcal::LayerClusterToCaloParticleAssociator::associateRecoToSim ( const edm::Handle< reco::CaloClusterCollection > &  cCCH,
const edm::Handle< CaloParticleCollection > &  cPCH 
) const
inline

Associate a LayerCluster to CaloParticles.

Definition at line 26 of file LayerClusterToCaloParticleAssociator.h.

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

References m_impl.

Referenced by LCToCPAssociatorEDProducer::produce().

◆ associateSimToReco()

hgcal::SimToRecoCollection hgcal::LayerClusterToCaloParticleAssociator::associateSimToReco ( const edm::Handle< reco::CaloClusterCollection > &  cCCH,
const edm::Handle< CaloParticleCollection > &  cPCH 
) const
inline

Associate a CaloParticle to LayerClusters.

Definition at line 32 of file LayerClusterToCaloParticleAssociator.h.

33  {
34  return m_impl->associateSimToReco(cCCH, cPCH);
35  }

References m_impl.

Referenced by LCToCPAssociatorEDProducer::produce().

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

std::unique_ptr<LayerClusterToCaloParticleAssociatorBaseImpl> hgcal::LayerClusterToCaloParticleAssociator::m_impl
private
hgcal::LayerClusterToCaloParticleAssociator::m_impl
std::unique_ptr< LayerClusterToCaloParticleAssociatorBaseImpl > m_impl
Definition: LayerClusterToCaloParticleAssociator.h:44
eostools.move
def move(src, dest)
Definition: eostools.py:511