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 (std::unique_ptr< reco::VertexToTrackingVertexAssociatorBaseImpl >)
 
 VertexToTrackingVertexAssociator ()=default
 
 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

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
reco::VertexToTrackingVertexAssociator::VertexToTrackingVertexAssociator ( )
default

Referenced by associateSimToReco().

reco::VertexToTrackingVertexAssociator::VertexToTrackingVertexAssociator ( VertexToTrackingVertexAssociator &&  )
default
reco::VertexToTrackingVertexAssociator::~VertexToTrackingVertexAssociator ( )
default
reco::VertexToTrackingVertexAssociator::VertexToTrackingVertexAssociator ( const VertexToTrackingVertexAssociator )
privatedelete

Member Function Documentation

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.

References m_impl.

Referenced by PrimaryVertexAnalyzer4PUSlimmed::analyze(), MultiTrackValidator::getRecoPVPosition(), and VertexHistory::newEvent().

23  {
24  return m_impl->associateRecoToSim(vCH, tVCH);
25  }
std::unique_ptr< VertexToTrackingVertexAssociatorBaseImpl > m_impl
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.

References m_impl, operator=(), and VertexToTrackingVertexAssociator().

Referenced by PrimaryVertexAnalyzer4PUSlimmed::analyze(), and VertexHistory::newEvent().

30  {
31  return m_impl->associateSimToReco(vCH, tVCH);
32  }
std::unique_ptr< VertexToTrackingVertexAssociatorBaseImpl > m_impl
VertexToTrackingVertexAssociator& reco::VertexToTrackingVertexAssociator::operator= ( VertexToTrackingVertexAssociator &&  )
default

Referenced by associateSimToReco().

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

Member Data Documentation

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

Definition at line 41 of file VertexToTrackingVertexAssociator.h.

Referenced by associateRecoToSim(), and associateSimToReco().