test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
VertexToTrackingVertexAssociator
operator= (const VertexToTrackingVertexAssociator &)
 
 VertexToTrackingVertexAssociator (const VertexToTrackingVertexAssociator &)
 

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.

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

Definition at line 11 of file VertexToTrackingVertexAssociator.cc.

11  {
12  delete m_impl;
13 }
VertexToTrackingVertexAssociatorBaseImpl * m_impl
reco::VertexToTrackingVertexAssociator::VertexToTrackingVertexAssociator ( const VertexToTrackingVertexAssociator )
private

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.

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.

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 )
private
void reco::VertexToTrackingVertexAssociator::swap ( VertexToTrackingVertexAssociator iOther)
inline

Definition at line 31 of file VertexToTrackingVertexAssociator.h.

References m_impl, and std::swap().

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

Definition at line 40 of file VertexToTrackingVertexAssociator.h.

Referenced by associateRecoToSim(), associateSimToReco(), and swap().