CMS 3D CMS Logo

EwkMuDQM.h
Go to the documentation of this file.
1 #ifndef EwkMuDQM_H
2 #define EwkMuDQM_H
3 
13 
14 // #include "FWCore/Framework/interface/EDAnalyzer.h"
18 
19 namespace reco {
20  class Muon;
21  class Jet;
22  class MET;
23  class Vertex;
24  class Photon;
25  class BeamSpot;
26 } // namespace reco
27 
28 class EwkMuDQM : public DQMEDAnalyzer {
29 public:
31  void analyze(const edm::Event&, const edm::EventSetup&) override;
32 
33 protected:
34  //Book histograms
35  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
36  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
37  void dqmEndRun(const edm::Run&, const edm::EventSetup&) override;
38 
39  void init_histograms();
40 
41 private:
51  std::vector<std::string> trigPathNames_;
52 
54  double dxyCut_;
60 
63  double isoCut03_;
64 
65  double acopCut_;
66  double metMin_;
67  double metMax_;
68  double mtMin_;
69  double mtMax_;
70 
71  double ptCut_;
72  double etaCut_;
73 
74  double ptThrForZ1_;
75  double ptThrForZ2_;
76 
79 
80  double eJetMin_;
81  int nJetMax_;
82 
84  int nPhoMax_;
85 
88 
89  unsigned int nall;
90  unsigned int nrec;
91  unsigned int niso;
92  unsigned int nhlt;
93  unsigned int nmet;
94  unsigned int nsel;
95  unsigned int nz;
96 
115 
125 
126  // MonitorElement* ptPlus_before_;
127  // MonitorElement* ptMinus_before_;
129  // MonitorElement* ptPlus_afterW_;
130  // MonitorElement* ptMinus_afterW_;
131  // MonitorElement* ptPlus_afterZ_;
132  // MonitorElement* ptMinus_afterZ_;
134 
146 
147  // filled if there is a Z-candidate
148  MonitorElement* n_zselPt1thr_; // number of muons in the event with pt>pt1thr
149  MonitorElement* n_zselPt2thr_; // number of muons in the event with pt>pt2thr
150 
154 
158 
162 
165 
172 };
173 
174 #endif
175 
176 // Local Variables:
177 // show-trailing-whitespace: t
178 // truncate-lines: t
179 // End:
MonitorElement * met_before_
Definition: EwkMuDQM.h:111
MonitorElement * npfph_
Definition: EwkMuDQM.h:166
MonitorElement * ptDiffPM_afterZ_
Definition: EwkMuDQM.h:133
double etaCut_
Definition: EwkMuDQM.h:72
MonitorElement * dimuonmass_afterZ_
Definition: EwkMuDQM.h:153
unsigned int nall
Definition: EwkMuDQM.h:89
int nMatchesCut_
Definition: EwkMuDQM.h:59
Definition: Photon.py:1
MonitorElement * phEta_
Definition: EwkMuDQM.h:171
MonitorElement * njets_afterZ_
Definition: EwkMuDQM.h:118
unsigned int nrec
Definition: EwkMuDQM.h:90
MonitorElement * iso2_afterZ_
Definition: EwkMuDQM.h:145
double mtMax_
Definition: EwkMuDQM.h:69
MonitorElement * npvs_before_
Definition: EwkMuDQM.h:155
double ptThrForPhoton_
Definition: EwkMuDQM.h:83
MonitorElement * dxy1_afterZ_
Definition: EwkMuDQM.h:138
MonitorElement * njets_before_
Definition: EwkMuDQM.h:116
MonitorElement * dxy_before_
Definition: EwkMuDQM.h:101
MonitorElement * ztrig_afterZ_
Definition: EwkMuDQM.h:151
MonitorElement * trig_before_
Definition: EwkMuDQM.h:107
MonitorElement * trig_after_
Definition: EwkMuDQM.h:108
MonitorElement * leadingjet_eta_afterZ_
Definition: EwkMuDQM.h:124
double metMax_
Definition: EwkMuDQM.h:67
MonitorElement * muoncharge_before_
Definition: EwkMuDQM.h:159
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
Definition: EwkMuDQM.h:50
MonitorElement * eta2_afterZ_
Definition: EwkMuDQM.h:142
edm::EDGetTokenT< edm::TriggerResults > trigTag_
Definition: EwkMuDQM.h:44
double ptCut_
Definition: EwkMuDQM.h:71
double isoCut03_
Definition: EwkMuDQM.h:63
MonitorElement * npvs_afterZ_
Definition: EwkMuDQM.h:157
MonitorElement * leadingjet_eta_before_
Definition: EwkMuDQM.h:122
std::vector< std::string > trigPathNames_
Definition: EwkMuDQM.h:51
double eJetMin_
Definition: EwkMuDQM.h:80
MonitorElement * pfphPt_
Definition: EwkMuDQM.h:168
MonitorElement * acop_before_
Definition: EwkMuDQM.h:113
MonitorElement * leadingjet_pt_after_
Definition: EwkMuDQM.h:120
MonitorElement * goodewkmuon_before_
Definition: EwkMuDQM.h:103
MonitorElement * eta_after_
Definition: EwkMuDQM.h:100
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * muoncharge_afterZ_
Definition: EwkMuDQM.h:161
MonitorElement * pt_before_
Definition: EwkMuDQM.h:97
unsigned int nhlt
Definition: EwkMuDQM.h:92
MonitorElement * dxy2_afterZ_
Definition: EwkMuDQM.h:143
MonitorElement * leadingjet_pt_before_
Definition: EwkMuDQM.h:119
MonitorElement * goodewkmuon1_afterZ_
Definition: EwkMuDQM.h:139
MonitorElement * iso_before_
Definition: EwkMuDQM.h:105
MonitorElement * npvs_after_
Definition: EwkMuDQM.h:156
MonitorElement * goodewkmuon2_afterZ_
Definition: EwkMuDQM.h:144
MonitorElement * njets_after_
Definition: EwkMuDQM.h:117
MonitorElement * ngoodmuons_
Definition: EwkMuDQM.h:164
MonitorElement * n_zselPt2thr_
Definition: EwkMuDQM.h:149
double metMin_
Definition: EwkMuDQM.h:66
Definition: Muon.py:1
MonitorElement * pt2_afterZ_
Definition: EwkMuDQM.h:141
double ptThrForZ2_
Definition: EwkMuDQM.h:75
Definition: Jet.py:1
int nJetMax_
Definition: EwkMuDQM.h:81
unsigned int nsel
Definition: EwkMuDQM.h:94
MonitorElement * met_afterZ_
Definition: EwkMuDQM.h:135
double dxyCut_
Definition: EwkMuDQM.h:54
bool isAlsoTrackerMuon_
Definition: EwkMuDQM.h:53
MonitorElement * leadingjet_eta_after_
Definition: EwkMuDQM.h:123
double dimuonMassMin_
Definition: EwkMuDQM.h:77
bool isCombinedIso_
Definition: EwkMuDQM.h:62
double dimuonMassMax_
Definition: EwkMuDQM.h:78
MonitorElement * mt_after_
Definition: EwkMuDQM.h:110
MonitorElement * goodewkmuon_after_
Definition: EwkMuDQM.h:104
MonitorElement * muoncharge_after_
Definition: EwkMuDQM.h:160
MonitorElement * mt_before_
Definition: EwkMuDQM.h:109
MonitorElement * eta_before_
Definition: EwkMuDQM.h:99
MonitorElement * iso1_afterZ_
Definition: EwkMuDQM.h:140
bool isRelativeIso_
Definition: EwkMuDQM.h:61
MonitorElement * pfphEta_
Definition: EwkMuDQM.h:170
HLTPrescaleProvider hltPrescaleProvider_
Definition: EwkMuDQM.h:87
edm::InputTag jetTag_
Definition: EwkMuDQM.h:43
int pixelHitsCut_
Definition: EwkMuDQM.h:57
edm::EDGetTokenT< edm::View< reco::Vertex > > vertexTag_
Definition: EwkMuDQM.h:49
MonitorElement * nmuons_
Definition: EwkMuDQM.h:163
double normalizedChi2Cut_
Definition: EwkMuDQM.h:55
edm::InputTag metTag_
Definition: EwkMuDQM.h:42
MonitorElement * pt_after_
Definition: EwkMuDQM.h:98
MonitorElement * iso_after_
Definition: EwkMuDQM.h:106
MonitorElement * eta1_afterZ_
Definition: EwkMuDQM.h:137
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
MonitorElement * ptDiffPM_before_
Definition: EwkMuDQM.h:128
MonitorElement * pt1_afterZ_
Definition: EwkMuDQM.h:136
MonitorElement * nph_
Definition: EwkMuDQM.h:167
int trackerHitsCut_
Definition: EwkMuDQM.h:56
double mtMin_
Definition: EwkMuDQM.h:68
unsigned int nz
Definition: EwkMuDQM.h:95
MonitorElement * phPt_
Definition: EwkMuDQM.h:169
double ptThrForZ1_
Definition: EwkMuDQM.h:74
fixed size matrix
edm::EDGetTokenT< edm::View< reco::Jet > > jetToken_
Definition: EwkMuDQM.h:47
MonitorElement * dxy_after_
Definition: EwkMuDQM.h:102
int muonHitsCut_
Definition: EwkMuDQM.h:58
MonitorElement * met_after_
Definition: EwkMuDQM.h:112
edm::EDGetTokenT< edm::View< reco::Muon > > muonTag_
Definition: EwkMuDQM.h:45
MonitorElement * n_zselPt1thr_
Definition: EwkMuDQM.h:148
unsigned int niso
Definition: EwkMuDQM.h:91
int nPhoMax_
Definition: EwkMuDQM.h:84
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
Definition: EwkMuDQM.h:46
edm::EDGetTokenT< edm::View< reco::Photon > > phoTag_
Definition: EwkMuDQM.h:48
MonitorElement * dimuonmass_before_
Definition: EwkMuDQM.h:152
Definition: Run.h:45
double acopCut_
Definition: EwkMuDQM.h:65
unsigned int nmet
Definition: EwkMuDQM.h:93
bool isValidHltConfig_
Definition: EwkMuDQM.h:86
MonitorElement * leadingjet_pt_afterZ_
Definition: EwkMuDQM.h:121
MonitorElement * acop_after_
Definition: EwkMuDQM.h:114