CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
reco::TrackToTrackingParticleAssociator Class Reference

#include <TrackToTrackingParticleAssociator.h>

Public Member Functions

reco::RecoToSimCollection associateRecoToSim (const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
 
reco::RecoToSimCollection associateRecoToSim (const edm::RefToBaseVector< reco::Track > &tc, const edm::RefVector< TrackingParticleCollection > &tpc) const
 Association Reco To Sim with Collections. More...
 
reco::RecoToSimCollectionSeed associateRecoToSim (const edm::Handle< edm::View< TrajectorySeed >> &ts, const edm::Handle< TrackingParticleCollection > &tpc) const
 
reco::RecoToSimCollectionTCandidate associateRecoToSim (const edm::Handle< TrackCandidateCollection > &tc, const edm::Handle< TrackingParticleCollection > &tpc) const
 
reco::SimToRecoCollection associateSimToReco (const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
 
reco::SimToRecoCollection associateSimToReco (const edm::RefToBaseVector< reco::Track > &tc, const edm::RefVector< TrackingParticleCollection > &tpc) const
 Association Sim To Reco with Collections. More...
 
reco::SimToRecoCollectionSeed associateSimToReco (const edm::Handle< edm::View< TrajectorySeed >> &ts, const edm::Handle< TrackingParticleCollection > &tpc) const
 
reco::SimToRecoCollectionTCandidate associateSimToReco (const edm::Handle< TrackCandidateCollection > &tc, const edm::Handle< TrackingParticleCollection > &tpc) const
 
TrackToTrackingParticleAssociatoroperator= (TrackToTrackingParticleAssociator &&)=default
 
 TrackToTrackingParticleAssociator (std::unique_ptr< reco::TrackToTrackingParticleAssociatorBaseImpl >)
 
 TrackToTrackingParticleAssociator ()=default
 
 TrackToTrackingParticleAssociator (TrackToTrackingParticleAssociator &&)=default
 
 ~TrackToTrackingParticleAssociator ()=default
 

Private Member Functions

const TrackToTrackingParticleAssociatoroperator= (const TrackToTrackingParticleAssociator &)=delete
 
 TrackToTrackingParticleAssociator (const TrackToTrackingParticleAssociator &)=delete
 

Private Attributes

std::unique_ptr< TrackToTrackingParticleAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 51 of file TrackToTrackingParticleAssociator.h.

Constructor & Destructor Documentation

TrackToTrackingParticleAssociator::TrackToTrackingParticleAssociator ( std::unique_ptr< reco::TrackToTrackingParticleAssociatorBaseImpl iImpl)

Definition at line 18 of file TrackToTrackingParticleAssociator.cc.

References eostools::move().

20  : m_impl{std::move(iImpl)} {}
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl
def move(src, dest)
Definition: eostools.py:511
reco::TrackToTrackingParticleAssociator::TrackToTrackingParticleAssociator ( )
default

Referenced by associateSimToReco().

reco::TrackToTrackingParticleAssociator::TrackToTrackingParticleAssociator ( TrackToTrackingParticleAssociator &&  )
default
reco::TrackToTrackingParticleAssociator::~TrackToTrackingParticleAssociator ( )
default
reco::TrackToTrackingParticleAssociator::TrackToTrackingParticleAssociator ( const TrackToTrackingParticleAssociator )
privatedelete

Member Function Documentation

reco::RecoToSimCollection reco::TrackToTrackingParticleAssociator::associateRecoToSim ( const edm::Handle< edm::View< reco::Track >> &  tCH,
const edm::Handle< TrackingParticleCollection > &  tPCH 
) const
inline
reco::RecoToSimCollection reco::TrackToTrackingParticleAssociator::associateRecoToSim ( const edm::RefToBaseVector< reco::Track > &  tc,
const edm::RefVector< TrackingParticleCollection > &  tpc 
) const
inline

Association Reco To Sim with Collections.

Definition at line 77 of file TrackToTrackingParticleAssociator.h.

References m_impl.

78  {
79  return m_impl->associateRecoToSim(tc, tpc);
80  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl
reco::RecoToSimCollectionSeed reco::TrackToTrackingParticleAssociator::associateRecoToSim ( const edm::Handle< edm::View< TrajectorySeed >> &  ts,
const edm::Handle< TrackingParticleCollection > &  tpc 
) const
inline

Definition at line 89 of file TrackToTrackingParticleAssociator.h.

References m_impl.

90  {
91  return m_impl->associateRecoToSim(ts, tpc);
92  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl
reco::RecoToSimCollectionTCandidate reco::TrackToTrackingParticleAssociator::associateRecoToSim ( const edm::Handle< TrackCandidateCollection > &  tc,
const edm::Handle< TrackingParticleCollection > &  tpc 
) const
inline

Definition at line 100 of file TrackToTrackingParticleAssociator.h.

References m_impl.

101  {
102  return m_impl->associateRecoToSim(tc, tpc);
103  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl
reco::SimToRecoCollection reco::TrackToTrackingParticleAssociator::associateSimToReco ( const edm::Handle< edm::View< reco::Track >> &  tCH,
const edm::Handle< TrackingParticleCollection > &  tPCH 
) const
inline
reco::SimToRecoCollection reco::TrackToTrackingParticleAssociator::associateSimToReco ( const edm::RefToBaseVector< reco::Track > &  tc,
const edm::RefVector< TrackingParticleCollection > &  tpc 
) const
inline

Association Sim To Reco with Collections.

Definition at line 83 of file TrackToTrackingParticleAssociator.h.

References m_impl.

84  {
85  return m_impl->associateSimToReco(tc, tpc);
86  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl
reco::SimToRecoCollectionSeed reco::TrackToTrackingParticleAssociator::associateSimToReco ( const edm::Handle< edm::View< TrajectorySeed >> &  ts,
const edm::Handle< TrackingParticleCollection > &  tpc 
) const
inline

Definition at line 94 of file TrackToTrackingParticleAssociator.h.

References m_impl.

95  {
96  return m_impl->associateSimToReco(ts, tpc);
97  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl
reco::SimToRecoCollectionTCandidate reco::TrackToTrackingParticleAssociator::associateSimToReco ( const edm::Handle< TrackCandidateCollection > &  tc,
const edm::Handle< TrackingParticleCollection > &  tpc 
) const
inline

Definition at line 105 of file TrackToTrackingParticleAssociator.h.

References m_impl, operator=(), and TrackToTrackingParticleAssociator().

106  {
107  return m_impl->associateSimToReco(tc, tpc);
108  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl
TrackToTrackingParticleAssociator& reco::TrackToTrackingParticleAssociator::operator= ( TrackToTrackingParticleAssociator &&  )
default

Referenced by associateSimToReco().

const TrackToTrackingParticleAssociator& reco::TrackToTrackingParticleAssociator::operator= ( const TrackToTrackingParticleAssociator )
privatedelete

Member Data Documentation

std::unique_ptr<TrackToTrackingParticleAssociatorBaseImpl> reco::TrackToTrackingParticleAssociator::m_impl
private

Definition at line 117 of file TrackToTrackingParticleAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().