test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VertexToTrackingVertexAssociator.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_VertexToTrackingVertexAssociator_h
2 #define SimDataFormats_Associations_VertexToTrackingVertexAssociator_h
3 
5 
7 
8 namespace reco {
10  public:
11 
12 #ifndef __GCCXML__
13  VertexToTrackingVertexAssociator( std::unique_ptr<reco::VertexToTrackingVertexAssociatorBaseImpl>);
14 #endif
17 
18  // ---------- const member functions ---------------------
21  const edm::Handle<TrackingVertexCollection>& tVCH ) const {
22  return m_impl->associateRecoToSim(vCH,tVCH);
23  }
24 
27  const edm::Handle<TrackingVertexCollection>& tVCH ) const {
28  return m_impl->associateSimToReco(vCH,tVCH);
29  }
30 
32  std::swap(m_impl, iOther.m_impl);
33  }
34  private:
36 
38 
39  // ---------- member data --------------------------------
41  };
42 }
43 
44 #endif
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
const VertexToTrackingVertexAssociator & operator=(const VertexToTrackingVertexAssociator &)
void swap(VertexToTrackingVertexAssociator &iOther)
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
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
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
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