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 (std::unique_ptr< hgcal::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]

hgcal::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator ( std::unique_ptr< hgcal::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]

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.

References m_impl.

Referenced by LCToSCAssociatorEDProducer::produce().

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

◆ 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.

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& hgcal::LayerClusterToSimClusterAssociator::operator= ( LayerClusterToSimClusterAssociator &&  )
default

◆ operator=() [2/2]

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

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().