CMS 3D CMS Logo

List of all members | Public 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
 
const VertexToTrackingVertexAssociatoroperator= (const VertexToTrackingVertexAssociator &)=delete
 
 VertexToTrackingVertexAssociator (std::unique_ptr< reco::VertexToTrackingVertexAssociatorBaseImpl >)
 
 VertexToTrackingVertexAssociator ()=default
 
 VertexToTrackingVertexAssociator (VertexToTrackingVertexAssociator &&)=default
 
 VertexToTrackingVertexAssociator (const VertexToTrackingVertexAssociator &)=delete
 
 ~VertexToTrackingVertexAssociator ()=default
 

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.

References eostools::move().

5  : m_impl{std::move(iImpl)} {}
std::unique_ptr< VertexToTrackingVertexAssociatorBaseImpl > m_impl
def move(src, dest)
Definition: eostools.py:511

◆ VertexToTrackingVertexAssociator() [2/4]

reco::VertexToTrackingVertexAssociator::VertexToTrackingVertexAssociator ( )
default

◆ VertexToTrackingVertexAssociator() [3/4]

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

◆ VertexToTrackingVertexAssociator() [4/4]

reco::VertexToTrackingVertexAssociator::VertexToTrackingVertexAssociator ( const VertexToTrackingVertexAssociator )
delete

◆ ~VertexToTrackingVertexAssociator()

reco::VertexToTrackingVertexAssociator::~VertexToTrackingVertexAssociator ( )
default

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 26 of file VertexToTrackingVertexAssociator.h.

References m_impl.

Referenced by MultiTrackValidator::getRecoPVPosition().

27  {
28  return m_impl->associateRecoToSim(vCH, tVCH);
29  }
std::unique_ptr< VertexToTrackingVertexAssociatorBaseImpl > m_impl

◆ 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 33 of file VertexToTrackingVertexAssociator.h.

References m_impl.

34  {
35  return m_impl->associateSimToReco(vCH, tVCH);
36  }
std::unique_ptr< VertexToTrackingVertexAssociatorBaseImpl > m_impl

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

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

Definition at line 40 of file VertexToTrackingVertexAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().