CMS 3D CMS Logo

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

#include <TracksterToSimClusterAssociator.h>

Public Member Functions

ticl::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...
 
ticl::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< ticl::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]

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

ticl::TracksterToSimClusterAssociator::TracksterToSimClusterAssociator ( )
default

◆ TracksterToSimClusterAssociator() [3/4]

ticl::TracksterToSimClusterAssociator::TracksterToSimClusterAssociator ( TracksterToSimClusterAssociator &&  )
default

◆ TracksterToSimClusterAssociator() [4/4]

ticl::TracksterToSimClusterAssociator::TracksterToSimClusterAssociator ( const TracksterToSimClusterAssociator )
delete

◆ ~TracksterToSimClusterAssociator()

ticl::TracksterToSimClusterAssociator::~TracksterToSimClusterAssociator ( )
default

Member Function Documentation

◆ associateRecoToSim()

ticl::RecoToSimCollectionTracksters ticl::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()

ticl::SimToRecoCollectionTracksters ticl::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& ticl::TracksterToSimClusterAssociator::operator= ( TracksterToSimClusterAssociator &&  )
default

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

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

Definition at line 44 of file TracksterToSimClusterAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().