CMS 3D CMS Logo

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
60 
61  // ---------- const member functions ---------------------
65  const edm::Handle<TrackingParticleCollection> &tPCH) const {
66  return m_impl->associateRecoToSim(tCH, tPCH);
67  }
68 
72  const edm::Handle<TrackingParticleCollection> &tPCH) const {
73  return m_impl->associateSimToReco(tCH, tPCH);
74  }
75 
79  return m_impl->associateRecoToSim(tc, tpc);
80  }
81 
85  return m_impl->associateSimToReco(tc, tpc);
86  }
87 
88  // TrajectorySeed
90  const edm::Handle<TrackingParticleCollection> &tpc) const {
91  return m_impl->associateRecoToSim(ts, tpc);
92  }
93 
95  const edm::Handle<TrackingParticleCollection> &tpc) const {
96  return m_impl->associateSimToReco(ts, tpc);
97  }
98 
99  // TrackCandidate
101  const edm::Handle<TrackingParticleCollection> &tpc) const {
102  return m_impl->associateRecoToSim(tc, tpc);
103  }
104 
106  const edm::Handle<TrackingParticleCollection> &tpc) const {
107  return m_impl->associateSimToReco(tc, tpc);
108  }
109 
110  private:
112 
114  delete; // stop default
115 
116  // ---------- member data --------------------------------
117  std::unique_ptr<TrackToTrackingParticleAssociatorBaseImpl> m_impl;
118  };
119 } // namespace reco
120 
121 #endif
reco::SimToRecoCollection associateSimToReco(const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
std::vector< TrackingParticle > TrackingParticleCollection
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
fixed size matrix
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
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