CMS 3D CMS Logo

GlobalMuonMatchAnalyzer.h
Go to the documentation of this file.
1 #ifndef Validation_RecoMuon_GlobalMuonMatchAnalyzer_H
2 #define Validation_RecoMuon_GlobalMuonMatchAnalyzer_H
3 
13 // system include files
14 #include <memory>
15 #include <string>
16 
17 // user include files
20 
23 
25 
30 
33 
34 
35 namespace reco {class Track;}
36 
37 class InputTag;
38 class MonitorElement;
39 class TrackAssociatorBase;
40 class DQMStore;
41 
42 //
43 // class decleration
44 //
45 
47  public:
49  ~GlobalMuonMatchAnalyzer() override;
50 
51 
52  private:
53  // virtual void beginRun(const edm::Run&, const edm::EventSetup&) ;
54  void analyze(const edm::Event&, const edm::EventSetup&) override;
55  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
56  void endRun(const edm::Run&, const edm::EventSetup&) override;
57 
58  void computeEfficiencyEta(MonitorElement*, MonitorElement *recoTH2, MonitorElement *simTH2);
59  void computeEfficiencyPt(MonitorElement*, MonitorElement *recoTH2, MonitorElement *simTH2);
60  // ----------member data ---------------------------
65  MonitorElement *h_shouldMatch, *h_goodMatchSim, *h_tkOnlySim, *h_staOnlySim;
66  MonitorElement *h_totReco, *h_goodMatch, *h_fakeMatch;
69 
70  const TrackAssociatorBase *tkAssociator_, *muAssociator_;
71  edm::InputTag tkAssociatorName_, muAssociatorName_;
72  edm::InputTag tkName_, tpName_, glbName_, staName_;
73  edm::EDGetTokenT<edm::View<reco::Track> > tkToken_, tpToken_, glbToken_, staToken_;
75 
76 };
77 
78 #endif
virtual example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
const TrackAssociatorBase * tkAssociator_
fixed size matrix
edm::EDGetTokenT< edm::View< reco::Track > > tpToken_
virtual example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > tkAssociatorToken_
Definition: Run.h:44