CMS 3D CMS Logo

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

#include <LayerClusterToCaloParticleAssociator.h>

Public Member Functions

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

Private Attributes

std::unique_ptr< LayerClusterToCaloParticleAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 16 of file LayerClusterToCaloParticleAssociator.h.

Constructor & Destructor Documentation

◆ LayerClusterToCaloParticleAssociator() [1/4]

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

Definition at line 5 of file LayerClusterToCaloParticleAssociator.cc.

7  : m_impl(std::move(ptr)) {}
std::unique_ptr< LayerClusterToCaloParticleAssociatorBaseImpl > m_impl
def move(src, dest)
Definition: eostools.py:511

◆ LayerClusterToCaloParticleAssociator() [2/4]

ticl::LayerClusterToCaloParticleAssociator::LayerClusterToCaloParticleAssociator ( )
default

◆ LayerClusterToCaloParticleAssociator() [3/4]

ticl::LayerClusterToCaloParticleAssociator::LayerClusterToCaloParticleAssociator ( LayerClusterToCaloParticleAssociator &&  )
default

◆ LayerClusterToCaloParticleAssociator() [4/4]

ticl::LayerClusterToCaloParticleAssociator::LayerClusterToCaloParticleAssociator ( const LayerClusterToCaloParticleAssociator )
delete

◆ ~LayerClusterToCaloParticleAssociator()

ticl::LayerClusterToCaloParticleAssociator::~LayerClusterToCaloParticleAssociator ( )
default

Member Function Documentation

◆ associateRecoToSim()

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

Associate a LayerCluster to CaloParticles.

Definition at line 30 of file LayerClusterToCaloParticleAssociator.h.

References m_impl.

Referenced by LCToCPAssociatorEDProducer::produce().

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

◆ associateSimToReco()

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

Associate a CaloParticle to LayerClusters.

Definition at line 36 of file LayerClusterToCaloParticleAssociator.h.

References m_impl.

Referenced by LCToCPAssociatorEDProducer::produce().

37  {
38  return m_impl->associateSimToReco(cCCH, cPCH);
39  }
std::unique_ptr< LayerClusterToCaloParticleAssociatorBaseImpl > m_impl

◆ operator=() [1/2]

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

◆ operator=() [2/2]

const LayerClusterToCaloParticleAssociator& ticl::LayerClusterToCaloParticleAssociator::operator= ( const LayerClusterToCaloParticleAssociator )
delete

Member Data Documentation

◆ m_impl

std::unique_ptr<LayerClusterToCaloParticleAssociatorBaseImpl> ticl::LayerClusterToCaloParticleAssociator::m_impl
private