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::TracksterToSimTracksterAssociator Class Reference

#include <TracksterToSimTracksterAssociator.h>

Public Member Functions

hgcal::RecoToSimCollectionSimTracksters associateRecoToSim (const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const
 Associate a Trackster to SimClusters. More...
 
hgcal::SimToRecoCollectionSimTracksters associateSimToReco (const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const
 Associate a SimCluster to Tracksters. More...
 
TracksterToSimTracksterAssociatoroperator= (TracksterToSimTracksterAssociator &&)=default
 
const
TracksterToSimTracksterAssociator
operator= (const TracksterToSimTracksterAssociator &)=delete
 
 TracksterToSimTracksterAssociator (std::unique_ptr< hgcal::TracksterToSimTracksterAssociatorBaseImpl >)
 
 TracksterToSimTracksterAssociator ()=default
 
 TracksterToSimTracksterAssociator (TracksterToSimTracksterAssociator &&)=default
 
 TracksterToSimTracksterAssociator (const TracksterToSimTracksterAssociator &)=delete
 
 ~TracksterToSimTracksterAssociator ()=default
 

Private Attributes

std::unique_ptr
< TracksterToSimTracksterAssociatorBaseImpl
m_impl
 

Detailed Description

Definition at line 16 of file TracksterToSimTracksterAssociator.h.

Constructor & Destructor Documentation

hgcal::TracksterToSimTracksterAssociator::TracksterToSimTracksterAssociator ( std::unique_ptr< hgcal::TracksterToSimTracksterAssociatorBaseImpl ptr)

Definition at line 5 of file TracksterToSimTracksterAssociator.cc.

7  : m_impl(std::move(ptr)) {}
def move
Definition: eostools.py:511
std::unique_ptr< TracksterToSimTracksterAssociatorBaseImpl > m_impl
hgcal::TracksterToSimTracksterAssociator::TracksterToSimTracksterAssociator ( )
default
hgcal::TracksterToSimTracksterAssociator::TracksterToSimTracksterAssociator ( TracksterToSimTracksterAssociator &&  )
default
hgcal::TracksterToSimTracksterAssociator::TracksterToSimTracksterAssociator ( const TracksterToSimTracksterAssociator )
delete
hgcal::TracksterToSimTracksterAssociator::~TracksterToSimTracksterAssociator ( )
default

Member Function Documentation

hgcal::RecoToSimCollectionSimTracksters hgcal::TracksterToSimTracksterAssociator::associateRecoToSim ( const edm::Handle< ticl::TracksterCollection > &  tCH,
const edm::Handle< reco::CaloClusterCollection > &  lCCH,
const edm::Handle< ticl::TracksterCollection > &  sTCH 
) const
inline

Associate a Trackster to SimClusters.

Definition at line 30 of file TracksterToSimTracksterAssociator.h.

References m_impl.

33  {
34  return m_impl->associateRecoToSim(tCH, lCCH, sTCH);
35  };
std::unique_ptr< TracksterToSimTracksterAssociatorBaseImpl > m_impl
hgcal::SimToRecoCollectionSimTracksters hgcal::TracksterToSimTracksterAssociator::associateSimToReco ( const edm::Handle< ticl::TracksterCollection > &  tCH,
const edm::Handle< reco::CaloClusterCollection > &  lCCH,
const edm::Handle< ticl::TracksterCollection > &  sTCH 
) const
inline

Associate a SimCluster to Tracksters.

Definition at line 38 of file TracksterToSimTracksterAssociator.h.

References m_impl.

41  {
42  return m_impl->associateSimToReco(tCH, lCCH, sTCH);
43  }
std::unique_ptr< TracksterToSimTracksterAssociatorBaseImpl > m_impl
TracksterToSimTracksterAssociator& hgcal::TracksterToSimTracksterAssociator::operator= ( TracksterToSimTracksterAssociator &&  )
default
const TracksterToSimTracksterAssociator& hgcal::TracksterToSimTracksterAssociator::operator= ( const TracksterToSimTracksterAssociator )
delete

Member Data Documentation

std::unique_ptr<TracksterToSimTracksterAssociatorBaseImpl> hgcal::TracksterToSimTracksterAssociator::m_impl
private

Definition at line 47 of file TracksterToSimTracksterAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().