CMS 3D CMS Logo

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