CMS 3D CMS Logo

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

#include <TracksterToSimTracksterHitLCAssociator.h>

Public Member Functions

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

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

ticl::TracksterToSimTracksterHitLCAssociator::TracksterToSimTracksterHitLCAssociator ( )
default

◆ TracksterToSimTracksterHitLCAssociator() [3/4]

ticl::TracksterToSimTracksterHitLCAssociator::TracksterToSimTracksterHitLCAssociator ( TracksterToSimTracksterHitLCAssociator &&  )
default

◆ TracksterToSimTracksterHitLCAssociator() [4/4]

ticl::TracksterToSimTracksterHitLCAssociator::TracksterToSimTracksterHitLCAssociator ( const TracksterToSimTracksterHitLCAssociator )
delete

◆ ~TracksterToSimTracksterHitLCAssociator()

ticl::TracksterToSimTracksterHitLCAssociator::~TracksterToSimTracksterHitLCAssociator ( )
default

Member Function Documentation

◆ associateRecoToSim()

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

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

◆ associateSimToReco()

ticl::SimToRecoCollectionSimTracksters ticl::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 42 of file TracksterToSimTracksterHitLCAssociator.h.

References m_impl.

Referenced by TSToSimTSHitLCAssociatorEDProducer::produce().

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

◆ makeConnections()

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

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