CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrackToTrackingParticleAssociator.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_TrackToTrackingParticleAssociator_h
2 #define SimDataFormats_Associations_TrackToTrackingParticleAssociator_h
3 // -*- C++ -*-
4 //
5 // Package: SimDataFormats/Associations
6 // Class : TrackToTrackingParticleAssociator
7 //
17 //
18 // Original Author: Christopher Jones
19 // Created: Tue, 30 Dec 2014 20:47:00 GMT
20 //
21 
22 // system include files
23 #include <memory>
24 
25 // user include files
27 
30 
32 
33 // forward declarations
34 
35 namespace reco {
36 
37  typedef edm::AssociationMap<
40  typedef edm::AssociationMap<
43 
44  typedef edm::AssociationMap<
47  typedef edm::AssociationMap<
50 
52  public:
53 #ifndef __GCCXML__
54  TrackToTrackingParticleAssociator(std::unique_ptr<reco::TrackToTrackingParticleAssociatorBaseImpl>);
55 #endif
61  delete; // stop default
62 
64 
65  // ---------- const member functions ---------------------
69  const edm::Handle<TrackingParticleCollection> &tPCH) const {
70  return m_impl->associateRecoToSim(tCH, tPCH);
71  }
72 
76  const edm::Handle<TrackingParticleCollection> &tPCH) const {
77  return m_impl->associateSimToReco(tCH, tPCH);
78  }
79 
83  return m_impl->associateRecoToSim(tc, tpc);
84  }
85 
89  return m_impl->associateSimToReco(tc, tpc);
90  }
91 
92  // TrajectorySeed
94  const edm::Handle<TrackingParticleCollection> &tpc) const {
95  return m_impl->associateRecoToSim(ts, tpc);
96  }
97 
99  const edm::Handle<TrackingParticleCollection> &tpc) const {
100  return m_impl->associateSimToReco(ts, tpc);
101  }
102 
103  // TrackCandidate
105  const edm::Handle<TrackingParticleCollection> &tpc) const {
106  return m_impl->associateRecoToSim(tc, tpc);
107  }
108 
110  const edm::Handle<TrackingParticleCollection> &tpc) const {
111  return m_impl->associateSimToReco(tc, tpc);
112  }
113 
114  private:
115  // ---------- member data --------------------------------
116  std::unique_ptr<TrackToTrackingParticleAssociatorBaseImpl> m_impl;
117  };
118 } // namespace reco
119 
120 #endif
reco::SimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
reco::SimToRecoCollection associateSimToReco(const edm::RefToBaseVector< reco::Track > &tc, const edm::RefVector< TrackingParticleCollection > &tpc) const
Association Sim To Reco with Collections.
edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< TrajectorySeed >, TrackingParticleCollection, double > > RecoToSimCollectionSeed
edm::AssociationMap< edm::OneToManyWithQualityGeneric< TrackingParticleCollection, TrackCandidateCollection, double > > SimToRecoCollectionTCandidate
edm::AssociationMap< edm::OneToManyWithQualityGeneric< TrajectorySeedCollection, TrackCandidateCollection, double > > RecoToSimCollectionTCandidate
reco::RecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
edm::AssociationMap< edm::OneToManyWithQualityGeneric< TrackingParticleCollection, edm::View< TrajectorySeed >, double > > SimToRecoCollectionSeed
reco::SimToRecoCollectionSeed associateSimToReco(const edm::Handle< edm::View< TrajectorySeed >> &ts, const edm::Handle< TrackingParticleCollection > &tpc) const
reco::SimToRecoCollectionTCandidate associateSimToReco(const edm::Handle< TrackCandidateCollection > &tc, const edm::Handle< TrackingParticleCollection > &tpc) const
std::unique_ptr< TrackToTrackingParticleAssociatorBaseImpl > m_impl
reco::RecoToSimCollectionSeed associateRecoToSim(const edm::Handle< edm::View< TrajectorySeed >> &ts, const edm::Handle< TrackingParticleCollection > &tpc) const
reco::RecoToSimCollectionTCandidate associateRecoToSim(const edm::Handle< TrackCandidateCollection > &tc, const edm::Handle< TrackingParticleCollection > &tpc) const
std::vector< TrackingParticle > TrackingParticleCollection
reco::RecoToSimCollection associateRecoToSim(const edm::RefToBaseVector< reco::Track > &tc, const edm::RefVector< TrackingParticleCollection > &tpc) const
Association Reco To Sim with Collections.
TrackToTrackingParticleAssociator & operator=(TrackToTrackingParticleAssociator &&)=default