CMS 3D CMS Logo

List of all members | Public 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
 
const TracksterToSimClusterAssociatoroperator= (const TracksterToSimClusterAssociator &)=delete
 
 TracksterToSimClusterAssociator (std::unique_ptr< hgcal::TracksterToSimClusterAssociatorBaseImpl >)
 
 TracksterToSimClusterAssociator ()=default
 
 TracksterToSimClusterAssociator (TracksterToSimClusterAssociator &&)=default
 
 TracksterToSimClusterAssociator (const TracksterToSimClusterAssociator &)=delete
 
 ~TracksterToSimClusterAssociator ()=default
 

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)) {}
std::unique_ptr< TracksterToSimClusterAssociatorBaseImpl > m_impl
def move(src, dest)
Definition: eostools.py:511

◆ TracksterToSimClusterAssociator() [2/4]

hgcal::TracksterToSimClusterAssociator::TracksterToSimClusterAssociator ( )
default

◆ TracksterToSimClusterAssociator() [3/4]

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

◆ TracksterToSimClusterAssociator() [4/4]

hgcal::TracksterToSimClusterAssociator::TracksterToSimClusterAssociator ( const TracksterToSimClusterAssociator )
delete

◆ ~TracksterToSimClusterAssociator()

hgcal::TracksterToSimClusterAssociator::~TracksterToSimClusterAssociator ( )
default

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 29 of file TracksterToSimClusterAssociator.h.

References m_impl.

Referenced by TSToSCAssociatorEDProducer::produce().

31  {
32  return m_impl->associateRecoToSim(tCH, lCCH, sCCH);
33  };
std::unique_ptr< TracksterToSimClusterAssociatorBaseImpl > m_impl

◆ 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 36 of file TracksterToSimClusterAssociator.h.

References m_impl.

Referenced by TSToSCAssociatorEDProducer::produce().

38  {
39  return m_impl->associateSimToReco(tCH, lCCH, sCCH);
40  }
std::unique_ptr< TracksterToSimClusterAssociatorBaseImpl > m_impl

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

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

Definition at line 44 of file TracksterToSimClusterAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().