CMS 3D CMS Logo

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