CMS 3D CMS Logo

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

#include <TracksterToSimTracksterHitLCAssociator.h>

Public Member Functions

hgcal::RecoToSimCollectionSimTracksters associateRecoToSim (const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< SimClusterCollection > &sCCH, const edm::Handle< CaloParticleCollection > &cPCH, 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< SimClusterCollection > &sCCH, const edm::Handle< CaloParticleCollection > &cPCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const
 Associate a SimCluster to Tracksters. More...
 
hgcal::association_t makeConnections (const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< SimClusterCollection > &sCCH, const edm::Handle< CaloParticleCollection > &cPCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const
 
TracksterToSimTracksterHitLCAssociatoroperator= (TracksterToSimTracksterHitLCAssociator &&)=default
 
const TracksterToSimTracksterHitLCAssociatoroperator= (const TracksterToSimTracksterHitLCAssociator &)=delete
 
 TracksterToSimTracksterHitLCAssociator (std::unique_ptr< hgcal::TracksterToSimTracksterHitLCAssociatorBaseImpl >)
 
 TracksterToSimTracksterHitLCAssociator ()=default
 
 TracksterToSimTracksterHitLCAssociator (TracksterToSimTracksterHitLCAssociator &&)=default
 
 TracksterToSimTracksterHitLCAssociator (const TracksterToSimTracksterHitLCAssociator &)=delete
 
 ~TracksterToSimTracksterHitLCAssociator ()=default
 

Private Attributes

std::unique_ptr< TracksterToSimTracksterHitLCAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 14 of file TracksterToSimTracksterHitLCAssociator.h.

Constructor & Destructor Documentation

◆ TracksterToSimTracksterHitLCAssociator() [1/4]

hgcal::TracksterToSimTracksterHitLCAssociator::TracksterToSimTracksterHitLCAssociator ( std::unique_ptr< hgcal::TracksterToSimTracksterHitLCAssociatorBaseImpl ptr)

Definition at line 3 of file TracksterToSimTracksterHitLCAssociator.cc.

5  : m_impl(std::move(ptr)) {}
std::unique_ptr< TracksterToSimTracksterHitLCAssociatorBaseImpl > m_impl
def move(src, dest)
Definition: eostools.py:511

◆ TracksterToSimTracksterHitLCAssociator() [2/4]

hgcal::TracksterToSimTracksterHitLCAssociator::TracksterToSimTracksterHitLCAssociator ( )
default

◆ TracksterToSimTracksterHitLCAssociator() [3/4]

hgcal::TracksterToSimTracksterHitLCAssociator::TracksterToSimTracksterHitLCAssociator ( TracksterToSimTracksterHitLCAssociator &&  )
default

◆ TracksterToSimTracksterHitLCAssociator() [4/4]

hgcal::TracksterToSimTracksterHitLCAssociator::TracksterToSimTracksterHitLCAssociator ( const TracksterToSimTracksterHitLCAssociator )
delete

◆ ~TracksterToSimTracksterHitLCAssociator()

hgcal::TracksterToSimTracksterHitLCAssociator::~TracksterToSimTracksterHitLCAssociator ( )
default

Member Function Documentation

◆ associateRecoToSim()

hgcal::RecoToSimCollectionSimTracksters hgcal::TracksterToSimTracksterHitLCAssociator::associateRecoToSim ( const edm::Handle< ticl::TracksterCollection > &  tCH,
const edm::Handle< reco::CaloClusterCollection > &  lCCH,
const edm::Handle< SimClusterCollection > &  sCCH,
const edm::Handle< CaloParticleCollection > &  cPCH,
const edm::Handle< ticl::TracksterCollection > &  sTCH 
) const
inline

Associate a Trackster to SimClusters.

Definition at line 33 of file TracksterToSimTracksterHitLCAssociator.h.

References m_impl.

Referenced by TSToSimTSHitLCAssociatorEDProducer::produce().

38  {
39  return m_impl->associateRecoToSim(tCH, lCCH, sCCH, cPCH, sTCH);
40  };
std::unique_ptr< TracksterToSimTracksterHitLCAssociatorBaseImpl > m_impl

◆ associateSimToReco()

hgcal::SimToRecoCollectionSimTracksters hgcal::TracksterToSimTracksterHitLCAssociator::associateSimToReco ( const edm::Handle< ticl::TracksterCollection > &  tCH,
const edm::Handle< reco::CaloClusterCollection > &  lCCH,
const edm::Handle< SimClusterCollection > &  sCCH,
const edm::Handle< CaloParticleCollection > &  cPCH,
const edm::Handle< ticl::TracksterCollection > &  sTCH 
) const
inline

Associate a SimCluster to Tracksters.

Definition at line 43 of file TracksterToSimTracksterHitLCAssociator.h.

References m_impl.

Referenced by TSToSimTSHitLCAssociatorEDProducer::produce().

48  {
49  return m_impl->associateSimToReco(tCH, lCCH, sCCH, cPCH, sTCH);
50  }
std::unique_ptr< TracksterToSimTracksterHitLCAssociatorBaseImpl > m_impl

◆ makeConnections()

hgcal::association_t hgcal::TracksterToSimTracksterHitLCAssociator::makeConnections ( const edm::Handle< ticl::TracksterCollection > &  tCH,
const edm::Handle< reco::CaloClusterCollection > &  lCCH,
const edm::Handle< SimClusterCollection > &  sCCH,
const edm::Handle< CaloParticleCollection > &  cPCH,
const edm::Handle< ticl::TracksterCollection > &  sTCH 
) const
inline

Definition at line 25 of file TracksterToSimTracksterHitLCAssociator.h.

References m_impl.

29  {
30  return m_impl->makeConnections(tCH, lCCH, sCCH, cPCH, sTCH);
31  }
std::unique_ptr< TracksterToSimTracksterHitLCAssociatorBaseImpl > m_impl

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

std::unique_ptr<TracksterToSimTracksterHitLCAssociatorBaseImpl> hgcal::TracksterToSimTracksterHitLCAssociator::m_impl
private