CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
LayerClusterToSimClusterAssociator
operator= (const LayerClusterToSimClusterAssociator &)=delete
 
 ~LayerClusterToSimClusterAssociator ()=default
 

Private Attributes

std::unique_ptr
< LayerClusterToSimClusterAssociatorBaseImpl
m_impl
 

Detailed Description

Definition at line 16 of file LayerClusterToSimClusterAssociator.h.

Constructor & Destructor Documentation

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
Definition: eostools.py:511
hgcal::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator ( )
default
hgcal::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator ( LayerClusterToSimClusterAssociator &&  )
default
hgcal::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator ( const LayerClusterToSimClusterAssociator )
delete
hgcal::LayerClusterToSimClusterAssociator::~LayerClusterToSimClusterAssociator ( )
default

Member Function Documentation

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.

30  {
31  return m_impl->associateRecoToSim(cCCH, sCCH);
32  };
std::unique_ptr< LayerClusterToSimClusterAssociatorBaseImpl > m_impl
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.

36  {
37  return m_impl->associateSimToReco(cCCH, sCCH);
38  }
std::unique_ptr< LayerClusterToSimClusterAssociatorBaseImpl > m_impl
LayerClusterToSimClusterAssociator& hgcal::LayerClusterToSimClusterAssociator::operator= ( LayerClusterToSimClusterAssociator &&  )
default
const LayerClusterToSimClusterAssociator& hgcal::LayerClusterToSimClusterAssociator::operator= ( const LayerClusterToSimClusterAssociator )
delete

Member Data Documentation

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

Definition at line 42 of file LayerClusterToSimClusterAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().