CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 #ifndef __GCCXML__
12  VertexToTrackingVertexAssociator(std::unique_ptr<reco::VertexToTrackingVertexAssociatorBaseImpl>);
13 #endif
19  delete; // stop default
20 
22 
23  // ---------- const member functions ---------------------
27  const edm::Handle<TrackingVertexCollection> &tVCH) const {
28  return m_impl->associateRecoToSim(vCH, tVCH);
29  }
30 
34  const edm::Handle<TrackingVertexCollection> &tVCH) const {
35  return m_impl->associateSimToReco(vCH, tVCH);
36  }
37 
38  private:
39  // ---------- member data --------------------------------
40  std::unique_ptr<VertexToTrackingVertexAssociatorBaseImpl> m_impl;
41  };
42 } // namespace reco
43 
44 #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