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
 compare reco to sim the handle of reco::Vertex and TrackingVertex collections More...
 
reco::VertexSimToRecoCollection associateSimToReco (const edm::Handle< edm::View< reco::Vertex > > &vCH, const edm::Handle< TrackingVertexCollection > &tVCH) const
 compare reco to sim the handle of reco::Vertex and TrackingVertex collections More...
 
void swap (VertexToTrackingVertexAssociator &iOther)
 
 VertexToTrackingVertexAssociator (std::unique_ptr< reco::VertexToTrackingVertexAssociatorBaseImpl >)
 
 VertexToTrackingVertexAssociator ()
 
 ~VertexToTrackingVertexAssociator ()
 

Private Member Functions

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

Private Attributes

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

7  :
8  m_impl{iImpl.release()}
9 {}
VertexToTrackingVertexAssociatorBaseImpl * m_impl
reco::VertexToTrackingVertexAssociator::VertexToTrackingVertexAssociator ( )

Definition at line 3 of file VertexToTrackingVertexAssociator.cc.

Referenced by swap().

3  :
4  m_impl{nullptr}
5 {}
VertexToTrackingVertexAssociatorBaseImpl * m_impl
reco::VertexToTrackingVertexAssociator::~VertexToTrackingVertexAssociator ( )

Definition at line 11 of file VertexToTrackingVertexAssociator.cc.

References m_impl.

11  {
12  delete m_impl;
13 }
VertexToTrackingVertexAssociatorBaseImpl * m_impl
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 20 of file VertexToTrackingVertexAssociator.h.

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

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

21  {
22  return m_impl->associateRecoToSim(vCH,tVCH);
23  }
virtual reco::VertexRecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Vertex > > &vCH, const edm::Handle< TrackingVertexCollection > &tVCH) const =0
compare reco to sim the handle of reco::Vertex and TrackingVertex collections
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 26 of file VertexToTrackingVertexAssociator.h.

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

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

27  {
28  return m_impl->associateSimToReco(vCH,tVCH);
29  }
virtual reco::VertexSimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Vertex > > &vCH, const edm::Handle< TrackingVertexCollection > &tVCH) const =0
compare reco to sim the handle of reco::Vertex and TrackingVertex collections
VertexToTrackingVertexAssociatorBaseImpl * m_impl
const VertexToTrackingVertexAssociator& reco::VertexToTrackingVertexAssociator::operator= ( const VertexToTrackingVertexAssociator )
privatedelete

Referenced by swap().

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

Definition at line 31 of file VertexToTrackingVertexAssociator.h.

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

31  {
32  std::swap(m_impl, iOther.m_impl);
33  }
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
VertexToTrackingVertexAssociatorBaseImpl * m_impl

Member Data Documentation

VertexToTrackingVertexAssociatorBaseImpl* reco::VertexToTrackingVertexAssociator::m_impl
private