CMS 3D CMS Logo

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

#include <TracksterToSimClusterAssociator.h>

Public Member Functions

hgcal::RecoToSimCollectionTracksters associateRecoToSim (const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< SimClusterCollection > &sCCH) const
 Associate a Trackster to SimClusters. More...
 
hgcal::SimToRecoCollectionTracksters associateSimToReco (const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< SimClusterCollection > &sCCH) const
 Associate a SimCluster to Tracksters. More...
 
TracksterToSimClusterAssociatoroperator= (TracksterToSimClusterAssociator &&)=default
 
 TracksterToSimClusterAssociator ()=default
 
 TracksterToSimClusterAssociator (std::unique_ptr< hgcal::TracksterToSimClusterAssociatorBaseImpl >)
 
 TracksterToSimClusterAssociator (TracksterToSimClusterAssociator &&)=default
 
 ~TracksterToSimClusterAssociator ()=default
 

Private Member Functions

const TracksterToSimClusterAssociatoroperator= (const TracksterToSimClusterAssociator &)=delete
 
 TracksterToSimClusterAssociator (const TracksterToSimClusterAssociator &)=delete
 

Private Attributes

std::unique_ptr< TracksterToSimClusterAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 16 of file TracksterToSimClusterAssociator.h.

Constructor & Destructor Documentation

◆ TracksterToSimClusterAssociator() [1/4]

hgcal::TracksterToSimClusterAssociator::TracksterToSimClusterAssociator ( std::unique_ptr< hgcal::TracksterToSimClusterAssociatorBaseImpl ptr)

Definition at line 5 of file TracksterToSimClusterAssociator.cc.

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

◆ TracksterToSimClusterAssociator() [2/4]

hgcal::TracksterToSimClusterAssociator::TracksterToSimClusterAssociator ( )
default

◆ TracksterToSimClusterAssociator() [3/4]

hgcal::TracksterToSimClusterAssociator::TracksterToSimClusterAssociator ( TracksterToSimClusterAssociator &&  )
default

◆ ~TracksterToSimClusterAssociator()

hgcal::TracksterToSimClusterAssociator::~TracksterToSimClusterAssociator ( )
default

◆ TracksterToSimClusterAssociator() [4/4]

hgcal::TracksterToSimClusterAssociator::TracksterToSimClusterAssociator ( const TracksterToSimClusterAssociator )
privatedelete

Member Function Documentation

◆ associateRecoToSim()

hgcal::RecoToSimCollectionTracksters hgcal::TracksterToSimClusterAssociator::associateRecoToSim ( const edm::Handle< ticl::TracksterCollection > &  tCH,
const edm::Handle< reco::CaloClusterCollection > &  lCCH,
const edm::Handle< SimClusterCollection > &  sCCH 
) const
inline

Associate a Trackster to SimClusters.

Definition at line 26 of file TracksterToSimClusterAssociator.h.

28  {
29  return m_impl->associateRecoToSim(tCH, lCCH, sCCH);
30  };

References m_impl.

Referenced by TSToSCAssociatorEDProducer::produce().

◆ associateSimToReco()

hgcal::SimToRecoCollectionTracksters hgcal::TracksterToSimClusterAssociator::associateSimToReco ( const edm::Handle< ticl::TracksterCollection > &  tCH,
const edm::Handle< reco::CaloClusterCollection > &  lCCH,
const edm::Handle< SimClusterCollection > &  sCCH 
) const
inline

Associate a SimCluster to Tracksters.

Definition at line 33 of file TracksterToSimClusterAssociator.h.

35  {
36  return m_impl->associateSimToReco(tCH, lCCH, sCCH);
37  }

References m_impl.

Referenced by TSToSCAssociatorEDProducer::produce().

◆ operator=() [1/2]

const TracksterToSimClusterAssociator& hgcal::TracksterToSimClusterAssociator::operator= ( const TracksterToSimClusterAssociator )
privatedelete

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

std::unique_ptr<TracksterToSimClusterAssociatorBaseImpl> hgcal::TracksterToSimClusterAssociator::m_impl
private

Definition at line 45 of file TracksterToSimClusterAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().

hgcal::TracksterToSimClusterAssociator::m_impl
std::unique_ptr< TracksterToSimClusterAssociatorBaseImpl > m_impl
Definition: TracksterToSimClusterAssociator.h:45
eostools.move
def move(src, dest)
Definition: eostools.py:511