CMS 3D CMS Logo

MtdSimLayerClusterToTPAssociator.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_MtdSimLayerClusterToTPAssociator_h
2 #define SimDataFormats_Associations_MtdSimLayerClusterToTPAssociator_h
3 // Author: M. Malberti
4 
5 // system include files
6 #include <memory>
7 
8 // user include files
9 
11 
12 // forward declarations
13 
14 namespace reco {
16  public:
17  MtdSimLayerClusterToTPAssociator(std::unique_ptr<reco::MtdSimLayerClusterToTPAssociatorBaseImpl>);
23  delete; // stop default
24 
26 
27  // ---------- const member functions ---------------------
30  const edm::Handle<TrackingParticleCollection> &trackingParticleH) const {
31  return m_impl->associateSimToTP(simClusH, trackingParticleH);
32  };
33 
36  const edm::Handle<TrackingParticleCollection> &trackingParticleH) const {
37  return m_impl->associateTPToSim(simClusH, trackingParticleH);
38  };
39 
40  private:
41  // ---------- member data --------------------------------
42  std::unique_ptr<MtdSimLayerClusterToTPAssociatorBaseImpl> m_impl;
43  };
44 } // namespace reco
45 
46 #endif
MtdSimLayerClusterToTPAssociator & operator=(MtdSimLayerClusterToTPAssociator &&)=default
reco::SimToTPCollectionMtd associateSimToTP(const edm::Handle< MtdSimLayerClusterCollection > &simClusH, const edm::Handle< TrackingParticleCollection > &trackingParticleH) const
Associate MtdSimLayerCluster to TrackingParticle.
reco::TPToSimCollectionMtd associateTPToSim(const edm::Handle< MtdSimLayerClusterCollection > &simClusH, const edm::Handle< TrackingParticleCollection > &trackingParticleH) const
Associate TrackingParticle to MtdSimLayerCluster.
fixed size matrix
std::unique_ptr< MtdSimLayerClusterToTPAssociatorBaseImpl > m_impl