CMS 3D CMS Logo

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

#include <VertexToTrackingVertexAssociator.h>

Public Member Functions

reco::VertexRecoToSimCollection associateRecoToSim (const edm::Handle< edm::View< reco::Vertex >> &vCH, const edm::Handle< TrackingVertexCollection > &tVCH) const
 
reco::VertexSimToRecoCollection associateSimToReco (const edm::Handle< edm::View< reco::Vertex >> &vCH, const edm::Handle< TrackingVertexCollection > &tVCH) const
 
VertexToTrackingVertexAssociatoroperator= (VertexToTrackingVertexAssociator &&)=default
 
 VertexToTrackingVertexAssociator ()=default
 
 VertexToTrackingVertexAssociator (std::unique_ptr< reco::VertexToTrackingVertexAssociatorBaseImpl >)
 
 VertexToTrackingVertexAssociator (VertexToTrackingVertexAssociator &&)=default
 
 ~VertexToTrackingVertexAssociator ()=default
 

Private Member Functions

const VertexToTrackingVertexAssociatoroperator= (const VertexToTrackingVertexAssociator &)=delete
 
 VertexToTrackingVertexAssociator (const VertexToTrackingVertexAssociator &)=delete
 

Private Attributes

std::unique_ptr< VertexToTrackingVertexAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 9 of file VertexToTrackingVertexAssociator.h.

Constructor & Destructor Documentation

◆ VertexToTrackingVertexAssociator() [1/4]

reco::VertexToTrackingVertexAssociator::VertexToTrackingVertexAssociator ( std::unique_ptr< reco::VertexToTrackingVertexAssociatorBaseImpl iImpl)

Definition at line 3 of file VertexToTrackingVertexAssociator.cc.

5  : m_impl{std::move(iImpl)} {}

References eostools::move().

◆ VertexToTrackingVertexAssociator() [2/4]

reco::VertexToTrackingVertexAssociator::VertexToTrackingVertexAssociator ( )
default

◆ VertexToTrackingVertexAssociator() [3/4]

reco::VertexToTrackingVertexAssociator::VertexToTrackingVertexAssociator ( VertexToTrackingVertexAssociator &&  )
default

◆ ~VertexToTrackingVertexAssociator()

reco::VertexToTrackingVertexAssociator::~VertexToTrackingVertexAssociator ( )
default

◆ VertexToTrackingVertexAssociator() [4/4]

reco::VertexToTrackingVertexAssociator::VertexToTrackingVertexAssociator ( const VertexToTrackingVertexAssociator )
privatedelete

Member Function Documentation

◆ associateRecoToSim()

reco::VertexRecoToSimCollection reco::VertexToTrackingVertexAssociator::associateRecoToSim ( const edm::Handle< edm::View< reco::Vertex >> &  vCH,
const edm::Handle< TrackingVertexCollection > &  tVCH 
) const
inline

compare reco to sim the handle of reco::Vertex and TrackingVertex collections

Definition at line 22 of file VertexToTrackingVertexAssociator.h.

23  {
24  return m_impl->associateRecoToSim(vCH, tVCH);
25  }

References m_impl.

Referenced by MultiTrackValidator::getRecoPVPosition().

◆ associateSimToReco()

reco::VertexSimToRecoCollection reco::VertexToTrackingVertexAssociator::associateSimToReco ( const edm::Handle< edm::View< reco::Vertex >> &  vCH,
const edm::Handle< TrackingVertexCollection > &  tVCH 
) const
inline

compare reco to sim the handle of reco::Vertex and TrackingVertex collections

Definition at line 29 of file VertexToTrackingVertexAssociator.h.

30  {
31  return m_impl->associateSimToReco(vCH, tVCH);
32  }

References m_impl.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

std::unique_ptr<VertexToTrackingVertexAssociatorBaseImpl> reco::VertexToTrackingVertexAssociator::m_impl
private

Definition at line 41 of file VertexToTrackingVertexAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().

eostools.move
def move(src, dest)
Definition: eostools.py:511
reco::VertexToTrackingVertexAssociator::m_impl
std::unique_ptr< VertexToTrackingVertexAssociatorBaseImpl > m_impl
Definition: VertexToTrackingVertexAssociator.h:41