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 #ifndef __GCCXML__
12  VertexToTrackingVertexAssociator(std::unique_ptr<reco::VertexToTrackingVertexAssociatorBaseImpl>);
13 #endif
18 
19  // ---------- const member functions ---------------------
23  const edm::Handle<TrackingVertexCollection> &tVCH) const {
24  return m_impl->associateRecoToSim(vCH, tVCH);
25  }
26 
30  const edm::Handle<TrackingVertexCollection> &tVCH) const {
31  return m_impl->associateSimToReco(vCH, tVCH);
32  }
33 
34  private:
36 
38  delete; // stop default
39 
40  // ---------- member data --------------------------------
41  std::unique_ptr<VertexToTrackingVertexAssociatorBaseImpl> m_impl;
42  };
43 } // namespace reco
44 
45 #endif
std::unique_ptr< VertexToTrackingVertexAssociatorBaseImpl > m_impl
reco::VertexSimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Vertex >> &vCH, const edm::Handle< TrackingVertexCollection > &tVCH) const
VertexToTrackingVertexAssociator & operator=(VertexToTrackingVertexAssociator &&)=default
reco::VertexRecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Vertex >> &vCH, const edm::Handle< TrackingVertexCollection > &tVCH) const
fixed size matrix