CMS 3D CMS Logo

List of all members | Public 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::RefVector< 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::RefVector< TrackingParticleCollection > &tpc) const
 
TrackToTrackingParticleAssociatoroperator= (TrackToTrackingParticleAssociator &&)=default
 
const TrackToTrackingParticleAssociatoroperator= (const TrackToTrackingParticleAssociator &)=delete
 
 TrackToTrackingParticleAssociator (std::unique_ptr< reco::TrackToTrackingParticleAssociatorBaseImpl >)
 
 TrackToTrackingParticleAssociator ()=default
 
 TrackToTrackingParticleAssociator (TrackToTrackingParticleAssociator &&)=default
 
 TrackToTrackingParticleAssociator (const TrackToTrackingParticleAssociator &)=delete
 
 ~TrackToTrackingParticleAssociator ()=default
 

Private Attributes

std::unique_ptr< TrackToTrackingParticleAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 36 of file TrackToTrackingParticleAssociator.h.

Constructor & Destructor Documentation

◆ TrackToTrackingParticleAssociator() [1/4]

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

◆ TrackToTrackingParticleAssociator() [2/4]

reco::TrackToTrackingParticleAssociator::TrackToTrackingParticleAssociator ( )
default

◆ TrackToTrackingParticleAssociator() [3/4]

reco::TrackToTrackingParticleAssociator::TrackToTrackingParticleAssociator ( TrackToTrackingParticleAssociator &&  )
default

◆ TrackToTrackingParticleAssociator() [4/4]

reco::TrackToTrackingParticleAssociator::TrackToTrackingParticleAssociator ( const TrackToTrackingParticleAssociator )
delete

◆ ~TrackToTrackingParticleAssociator()

reco::TrackToTrackingParticleAssociator::~TrackToTrackingParticleAssociator ( )
default

Member Function Documentation

◆ associateRecoToSim() [1/4]

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

◆ associateRecoToSim() [2/4]

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 66 of file TrackToTrackingParticleAssociator.h.

References m_impl.

67  {
68  return m_impl->associateRecoToSim(tc, tpc);
69  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl

◆ associateRecoToSim() [3/4]

reco::RecoToSimCollectionSeed reco::TrackToTrackingParticleAssociator::associateRecoToSim ( const edm::Handle< edm::View< TrajectorySeed >> &  ts,
const edm::Handle< TrackingParticleCollection > &  tpc 
) const
inline

Definition at line 78 of file TrackToTrackingParticleAssociator.h.

References m_impl.

79  {
80  return m_impl->associateRecoToSim(ts, tpc);
81  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl

◆ associateRecoToSim() [4/4]

reco::RecoToSimCollectionTCandidate reco::TrackToTrackingParticleAssociator::associateRecoToSim ( const edm::Handle< TrackCandidateCollection > &  tc,
const edm::RefVector< TrackingParticleCollection > &  tpc 
) const
inline

Definition at line 89 of file TrackToTrackingParticleAssociator.h.

References m_impl.

90  {
91  return m_impl->associateRecoToSim(tc, tpc);
92  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl

◆ associateSimToReco() [1/4]

reco::SimToRecoCollection reco::TrackToTrackingParticleAssociator::associateSimToReco ( const edm::Handle< edm::View< reco::Track >> &  tCH,
const edm::Handle< TrackingParticleCollection > &  tPCH 
) const
inline

◆ associateSimToReco() [2/4]

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 72 of file TrackToTrackingParticleAssociator.h.

References m_impl.

73  {
74  return m_impl->associateSimToReco(tc, tpc);
75  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl

◆ associateSimToReco() [3/4]

reco::SimToRecoCollectionSeed reco::TrackToTrackingParticleAssociator::associateSimToReco ( const edm::Handle< edm::View< TrajectorySeed >> &  ts,
const edm::Handle< TrackingParticleCollection > &  tpc 
) const
inline

Definition at line 83 of file TrackToTrackingParticleAssociator.h.

References m_impl.

84  {
85  return m_impl->associateSimToReco(ts, tpc);
86  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl

◆ associateSimToReco() [4/4]

reco::SimToRecoCollectionTCandidate reco::TrackToTrackingParticleAssociator::associateSimToReco ( const edm::Handle< TrackCandidateCollection > &  tc,
const edm::RefVector< TrackingParticleCollection > &  tpc 
) const
inline

Definition at line 94 of file TrackToTrackingParticleAssociator.h.

References m_impl.

95  {
96  return m_impl->associateSimToReco(tc, tpc);
97  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl

◆ operator=() [1/2]

TrackToTrackingParticleAssociator& reco::TrackToTrackingParticleAssociator::operator= ( TrackToTrackingParticleAssociator &&  )
default

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

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

Definition at line 101 of file TrackToTrackingParticleAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().