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
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
 
const
TrackToTrackingParticleAssociator
operator= (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
< TrackToTrackingParticleAssociatorBaseImpl
m_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)} {}
def move
Definition: eostools.py:511
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl
reco::TrackToTrackingParticleAssociator::TrackToTrackingParticleAssociator ( )
default
reco::TrackToTrackingParticleAssociator::TrackToTrackingParticleAssociator ( TrackToTrackingParticleAssociator &&  )
default
reco::TrackToTrackingParticleAssociator::TrackToTrackingParticleAssociator ( const TrackToTrackingParticleAssociator )
delete
reco::TrackToTrackingParticleAssociator::~TrackToTrackingParticleAssociator ( )
default

Member Function Documentation

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

compare reco to sim the handle of reco::Track and TrackingParticle collections

Definition at line 68 of file TrackToTrackingParticleAssociator.h.

References m_impl.

Referenced by SiPixelPhase1HitsV::analyze(), TrackingNtuple::fillSeeds(), TrackingNtuple::fillTracks(), and MCTrackMatcher::produce().

69  {
70  return m_impl->associateRecoToSim(tCH, tPCH);
71  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl
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 81 of file TrackToTrackingParticleAssociator.h.

References m_impl.

82  {
83  return m_impl->associateRecoToSim(tc, tpc);
84  }
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 93 of file TrackToTrackingParticleAssociator.h.

References m_impl.

94  {
95  return m_impl->associateRecoToSim(ts, tpc);
96  }
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 104 of file TrackToTrackingParticleAssociator.h.

References m_impl.

105  {
106  return m_impl->associateRecoToSim(tc, tpc);
107  }
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

compare reco to sim the handle of reco::Track and TrackingParticle collections

Definition at line 75 of file TrackToTrackingParticleAssociator.h.

References m_impl.

Referenced by TrackingNtuple::fillSeeds(), and TrackingNtuple::fillTrackingParticles().

76  {
77  return m_impl->associateSimToReco(tCH, tPCH);
78  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl
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 87 of file TrackToTrackingParticleAssociator.h.

References m_impl.

88  {
89  return m_impl->associateSimToReco(tc, tpc);
90  }
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 98 of file TrackToTrackingParticleAssociator.h.

References m_impl.

99  {
100  return m_impl->associateSimToReco(ts, tpc);
101  }
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 109 of file TrackToTrackingParticleAssociator.h.

References m_impl.

110  {
111  return m_impl->associateSimToReco(tc, tpc);
112  }
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl
TrackToTrackingParticleAssociator& reco::TrackToTrackingParticleAssociator::operator= ( TrackToTrackingParticleAssociator &&  )
default
const TrackToTrackingParticleAssociator& reco::TrackToTrackingParticleAssociator::operator= ( const TrackToTrackingParticleAssociator )
delete

Member Data Documentation

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

Definition at line 116 of file TrackToTrackingParticleAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().