CMS 3D CMS Logo

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 
37  const VertexToTrackingVertexAssociator& operator=(const VertexToTrackingVertexAssociator&) = delete; // stop default
38 
39  // ---------- member data --------------------------------
41  };
42 }
43 
44 #endif
void swap(VertexToTrackingVertexAssociator &iOther)
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
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
fixed size matrix
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
const VertexToTrackingVertexAssociator & operator=(const VertexToTrackingVertexAssociator &)=delete