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
 compare reco to sim the handle of reco::Track and TrackingParticle collections More...
 
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
 compare reco to sim the handle of reco::Track and TrackingParticle collections More...
 
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
 
void swap (TrackToTrackingParticleAssociator &iOther)
 
 TrackToTrackingParticleAssociator (std::unique_ptr< reco::TrackToTrackingParticleAssociatorBaseImpl >)
 
 TrackToTrackingParticleAssociator ()
 
 ~TrackToTrackingParticleAssociator ()
 

Private Member Functions

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

Private Attributes

TrackToTrackingParticleAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 50 of file TrackToTrackingParticleAssociator.h.

Constructor & Destructor Documentation

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

Definition at line 35 of file TrackToTrackingParticleAssociator.cc.

35  :
36  m_impl{iImpl.release()}
37 {
38 }
TrackToTrackingParticleAssociatorBaseImpl * m_impl
TrackToTrackingParticleAssociator::TrackToTrackingParticleAssociator ( )

Definition at line 30 of file TrackToTrackingParticleAssociator.cc.

Referenced by swap().

30  :
31  m_impl{nullptr}
32 {
33 }
TrackToTrackingParticleAssociatorBaseImpl * m_impl
TrackToTrackingParticleAssociator::~TrackToTrackingParticleAssociator ( )

Definition at line 45 of file TrackToTrackingParticleAssociator.cc.

References m_impl.

46 {
47  delete m_impl;
48 }
TrackToTrackingParticleAssociatorBaseImpl * m_impl
reco::TrackToTrackingParticleAssociator::TrackToTrackingParticleAssociator ( const TrackToTrackingParticleAssociator )
private

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

References reco::TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim(), and m_impl.

76  {
77  return m_impl->associateRecoToSim(tc,tpc);
78  }
virtual reco::RecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
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 87 of file TrackToTrackingParticleAssociator.h.

References reco::TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim(), and m_impl.

88  {
89  return m_impl->associateRecoToSim(ts, tpc);
90  }
virtual reco::RecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
TrackToTrackingParticleAssociatorBaseImpl * m_impl
reco::RecoToSimCollectionTCandidate reco::TrackToTrackingParticleAssociator::associateRecoToSim ( const edm::Handle< TrackCandidateCollection > &  tc,
const edm::Handle< TrackingParticleCollection > &  tpc 
) const
inline

Definition at line 98 of file TrackToTrackingParticleAssociator.h.

References reco::TrackToTrackingParticleAssociatorBaseImpl::associateRecoToSim(), and m_impl.

99  {
100  return m_impl->associateRecoToSim(tc,tpc);
101  }
virtual reco::RecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
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 69 of file TrackToTrackingParticleAssociator.h.

References reco::TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco(), and m_impl.

Referenced by MultiTrackValidator::analyze(), TrackerSeedValidator::analyze(), GlobalMuonMatchAnalyzer::analyze(), TkConvValidator::analyze(), OverlapProblemTPAnalyzer::analyze(), PhotonValidator::analyze(), TrackingNtuple::fillTrackingParticles(), TrackHistory::newEvent(), TrackAssociatorEDProducer::produce(), and TrackAlgoCompareUtil::produce().

70  {
71  return m_impl->associateSimToReco(tCH,tPCH);
72  }
TrackToTrackingParticleAssociatorBaseImpl * m_impl
virtual reco::SimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
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 81 of file TrackToTrackingParticleAssociator.h.

References reco::TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco(), and m_impl.

82  {
83  return m_impl->associateSimToReco(tc,tpc);
84  }
TrackToTrackingParticleAssociatorBaseImpl * m_impl
virtual reco::SimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
reco::SimToRecoCollectionSeed reco::TrackToTrackingParticleAssociator::associateSimToReco ( const edm::Handle< edm::View< TrajectorySeed > > &  ts,
const edm::Handle< TrackingParticleCollection > &  tpc 
) const
inline

Definition at line 92 of file TrackToTrackingParticleAssociator.h.

References reco::TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco(), and m_impl.

93  {
94  return m_impl->associateSimToReco(ts,tpc);
95  }
TrackToTrackingParticleAssociatorBaseImpl * m_impl
virtual reco::SimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
reco::SimToRecoCollectionTCandidate reco::TrackToTrackingParticleAssociator::associateSimToReco ( const edm::Handle< TrackCandidateCollection > &  tc,
const edm::Handle< TrackingParticleCollection > &  tpc 
) const
inline

Definition at line 103 of file TrackToTrackingParticleAssociator.h.

References reco::TrackToTrackingParticleAssociatorBaseImpl::associateSimToReco(), and m_impl.

104  {
105  return m_impl->associateSimToReco(tc,tpc);
106  }
TrackToTrackingParticleAssociatorBaseImpl * m_impl
virtual reco::SimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Track > > &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
compare reco to sim the handle of reco::Track and TrackingParticle collections
const TrackToTrackingParticleAssociator& reco::TrackToTrackingParticleAssociator::operator= ( const TrackToTrackingParticleAssociator )
private

Referenced by swap().

void reco::TrackToTrackingParticleAssociator::swap ( TrackToTrackingParticleAssociator iOther)
inline

Definition at line 108 of file TrackToTrackingParticleAssociator.h.

References m_impl, operator=(), std::swap(), and TrackToTrackingParticleAssociator().

108  {
109  std::swap(m_impl, iOther.m_impl);
110  }
TrackToTrackingParticleAssociatorBaseImpl * m_impl
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)

Member Data Documentation

TrackToTrackingParticleAssociatorBaseImpl* reco::TrackToTrackingParticleAssociator::m_impl
private