CMS 3D CMS Logo

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

#include <LayerClusterToSimClusterAssociator.h>

Public Member Functions

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

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

Definition at line 5 of file LayerClusterToSimClusterAssociator.cc.

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

◆ LayerClusterToSimClusterAssociator() [2/4]

hgcal::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator ( )
default

◆ LayerClusterToSimClusterAssociator() [3/4]

hgcal::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator ( LayerClusterToSimClusterAssociator &&  )
default

◆ LayerClusterToSimClusterAssociator() [4/4]

hgcal::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator ( const LayerClusterToSimClusterAssociator )
delete

◆ ~LayerClusterToSimClusterAssociator()

hgcal::LayerClusterToSimClusterAssociator::~LayerClusterToSimClusterAssociator ( )
default

Member Function Documentation

◆ associateRecoToSim()

hgcal::RecoToSimCollectionWithSimClusters hgcal::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.

30  {
31  return m_impl->associateRecoToSim(cCCH, sCCH);
32  };

References m_impl.

Referenced by LCToSCAssociatorEDProducer::produce().

◆ associateSimToReco()

hgcal::SimToRecoCollectionWithSimClusters hgcal::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.

36  {
37  return m_impl->associateSimToReco(cCCH, sCCH);
38  }

References m_impl.

Referenced by LCToSCAssociatorEDProducer::produce().

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

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

Definition at line 42 of file LayerClusterToSimClusterAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().

hgcal::LayerClusterToSimClusterAssociator::m_impl
std::unique_ptr< LayerClusterToSimClusterAssociatorBaseImpl > m_impl
Definition: LayerClusterToSimClusterAssociator.h:42
eostools.move
def move(src, dest)
Definition: eostools.py:511