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