CMS 3D CMS Logo

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

#include <LayerClusterToSimClusterAssociator.h>

Public Member Functions

ticl::RecoToSimCollectionWithSimClusters associateRecoToSim (const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< SimClusterCollection > &sCCH) const
 Associate a LayerCluster to SimClusters. More...
 
ticl::SimToRecoCollectionWithSimClusters associateSimToReco (const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< SimClusterCollection > &sCCH) const
 Associate a SimCluster to LayerClusters. More...
 
 LayerClusterToSimClusterAssociator (std::unique_ptr< ticl::LayerClusterToSimClusterAssociatorBaseImpl >)
 
 LayerClusterToSimClusterAssociator ()=default
 
 LayerClusterToSimClusterAssociator (LayerClusterToSimClusterAssociator &&)=default
 
 LayerClusterToSimClusterAssociator (const LayerClusterToSimClusterAssociator &)=delete
 
LayerClusterToSimClusterAssociatoroperator= (LayerClusterToSimClusterAssociator &&)=default
 
const LayerClusterToSimClusterAssociatoroperator= (const LayerClusterToSimClusterAssociator &)=delete
 
 ~LayerClusterToSimClusterAssociator ()=default
 

Private Attributes

std::unique_ptr< LayerClusterToSimClusterAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 16 of file LayerClusterToSimClusterAssociator.h.

Constructor & Destructor Documentation

◆ LayerClusterToSimClusterAssociator() [1/4]

ticl::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator ( std::unique_ptr< ticl::LayerClusterToSimClusterAssociatorBaseImpl ptr)

Definition at line 5 of file LayerClusterToSimClusterAssociator.cc.

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

◆ LayerClusterToSimClusterAssociator() [2/4]

ticl::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator ( )
default

◆ LayerClusterToSimClusterAssociator() [3/4]

ticl::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator ( LayerClusterToSimClusterAssociator &&  )
default

◆ LayerClusterToSimClusterAssociator() [4/4]

ticl::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator ( const LayerClusterToSimClusterAssociator )
delete

◆ ~LayerClusterToSimClusterAssociator()

ticl::LayerClusterToSimClusterAssociator::~LayerClusterToSimClusterAssociator ( )
default

Member Function Documentation

◆ associateRecoToSim()

ticl::RecoToSimCollectionWithSimClusters ticl::LayerClusterToSimClusterAssociator::associateRecoToSim ( const edm::Handle< reco::CaloClusterCollection > &  cCCH,
const edm::Handle< SimClusterCollection > &  sCCH 
) const
inline

Associate a LayerCluster to SimClusters.

Definition at line 29 of file LayerClusterToSimClusterAssociator.h.

References m_impl.

Referenced by LCToSCAssociatorEDProducer::produce().

30  {
31  return m_impl->associateRecoToSim(cCCH, sCCH);
32  };
std::unique_ptr< LayerClusterToSimClusterAssociatorBaseImpl > m_impl

◆ associateSimToReco()

ticl::SimToRecoCollectionWithSimClusters ticl::LayerClusterToSimClusterAssociator::associateSimToReco ( const edm::Handle< reco::CaloClusterCollection > &  cCCH,
const edm::Handle< SimClusterCollection > &  sCCH 
) const
inline

Associate a SimCluster to LayerClusters.

Definition at line 35 of file LayerClusterToSimClusterAssociator.h.

References m_impl.

Referenced by LCToSCAssociatorEDProducer::produce().

36  {
37  return m_impl->associateSimToReco(cCCH, sCCH);
38  }
std::unique_ptr< LayerClusterToSimClusterAssociatorBaseImpl > m_impl

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

std::unique_ptr<LayerClusterToSimClusterAssociatorBaseImpl> ticl::LayerClusterToSimClusterAssociator::m_impl
private

Definition at line 42 of file LayerClusterToSimClusterAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().