CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MuonToTrackingParticleAssociatorByHitsImpl.h
Go to the documentation of this file.
1 #ifndef SimMuon_MCTruth_MuonToTrackingParticleAssociatorByHitsImpl_h
2 #define SimMuon_MCTruth_MuonToTrackingParticleAssociatorByHitsImpl_h
3 // -*- C++ -*-
4 //
5 // Package: SimMuon/MCTruth
6 // Class : MuonToTrackingParticleAssociatorByHitsImpl
7 //
18 //
19 // Original Author: Christopher Jones
20 // Created: Wed, 07 Jan 2015 21:35:52 GMT
21 //
22 
23 // system include files
24 #include <functional>
25 
26 // user include files
29 
30 // forward declarations
32 
34 public:
36 
38  TrackerMuonHitExtractor const &iHitExtractor,
39  TrackerHitAssociator::Config const &iTracker,
40  CSCHitAssociator::Config const &iCSC,
41  DTHitAssociator::Config const &iDT,
42  RPCHitAssociator::Config const &iRPC,
43  GEMHitAssociator::Config const &iGEM,
44  edm::Event const &iEvent,
45  edm::EventSetup const &iSetup,
46  const TrackerTopology *iTopo,
48  MuonAssociatorByHitsHelper const *iHelper);
49 
51  delete; // stop default
52 
54  delete; // stop default
55 
56  // ---------- const member functions ---------------------
58  reco::SimToMuonCollection &simToReco,
61  const edm::RefVector<TrackingParticleCollection> &tpColl) const override;
62 
64  reco::SimToMuonCollection &simToReco,
67  const edm::Handle<TrackingParticleCollection> &tpColl) const override;
68 
69  // ---------- static member functions --------------------
70 
71  // ---------- member functions ---------------------------
72 
73 private:
74  // ---------- member data --------------------------------
83 };
84 
85 #endif
std::map< edm::RefToBase< reco::Muon >, std::vector< std::pair< TrackingParticleRef, double > >, RefToBaseSort > MuonToSimCollection
Definition: MuonTrackType.h:37
void associateMuons(reco::MuonToSimCollection &recoToSim, reco::SimToMuonCollection &simToReco, const edm::RefToBaseVector< reco::Muon > &muons, reco::MuonTrackType type, const edm::RefVector< TrackingParticleCollection > &tpColl) const override
MuonToTrackingParticleAssociatorByHitsImpl(TrackerMuonHitExtractor const &iHitExtractor, TrackerHitAssociator::Config const &iTracker, CSCHitAssociator::Config const &iCSC, DTHitAssociator::Config const &iDT, RPCHitAssociator::Config const &iRPC, GEMHitAssociator::Config const &iGEM, edm::Event const &iEvent, edm::EventSetup const &iSetup, const TrackerTopology *iTopo, std::function< void(const TrackHitsCollection &, const TrackingParticleCollection &)>, MuonAssociatorByHitsHelper const *iHelper)
std::map< TrackingParticleRef, std::vector< std::pair< edm::RefToBase< reco::Muon >, double > > > SimToMuonCollection
Definition: MuonTrackType.h:38
std::vector< std::pair< trackingRecHit_iterator, trackingRecHit_iterator > > TrackHitsCollection
int iEvent
Definition: GenABIO.cc:224
string function
Definition: callgraph.py:50
const MuonToTrackingParticleAssociatorByHitsImpl & operator=(const MuonToTrackingParticleAssociatorByHitsImpl &)=delete
MuonAssociatorByHitsHelper::TrackHitsCollection TrackHitsCollection
tuple muons
Definition: patZpeak.py:41
std::vector< TrackingParticle > TrackingParticleCollection
MuonTrackType
Definition: MuonTrackType.h:28