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
19 
20  // ---------- const member functions ---------------------
23  const edm::Handle<TrackingVertexCollection>& tVCH ) const {
24  return m_impl->associateRecoToSim(vCH,tVCH);
25  }
26 
29  const edm::Handle<TrackingVertexCollection>& tVCH ) const {
30  return m_impl->associateSimToReco(vCH,tVCH);
31  }
32  private:
34 
35  const VertexToTrackingVertexAssociator& operator=(const VertexToTrackingVertexAssociator&) = delete; // stop default
36 
37  // ---------- member data --------------------------------
38  std::unique_ptr<VertexToTrackingVertexAssociatorBaseImpl> m_impl;
39  };
40 }
41 
42 #endif
std::unique_ptr< VertexToTrackingVertexAssociatorBaseImpl > m_impl
VertexToTrackingVertexAssociator & operator=(VertexToTrackingVertexAssociator &&)=default
fixed size matrix
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