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