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 
16 
17 namespace reco {
18  class Muon;
19  class Jet;
20  class MET;
21  class Vertex;
22  class Photon;
23  class BeamSpot;
24 }
25 
26 class DQMStore;
27 class MonitorElement;
28 
29 class EwkMuDQM : public edm::EDAnalyzer {
30 public:
31  EwkMuDQM (const edm::ParameterSet &);
32  virtual void analyze(const edm::Event&, const edm::EventSetup&);
33  virtual void beginJob();
34  virtual void endJob();
35  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
36  virtual void endRun(const edm::Run&, const edm::EventSetup&);
37 
38  void init_histograms();
39 private:
40 
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 
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 
176 #endif
177 
178 // Local Variables:
179 // show-trailing-whitespace: t
180 // truncate-lines: t
181 // End:
MonitorElement * met_before_
Definition: EwkMuDQM.h:112
DQMStore * theDbe
Definition: EwkMuDQM.h:96
MonitorElement * npfph_
Definition: EwkMuDQM.h:167
MonitorElement * ptDiffPM_afterZ_
Definition: EwkMuDQM.h:134
double etaCut_
Definition: EwkMuDQM.h:71
MonitorElement * dimuonmass_afterZ_
Definition: EwkMuDQM.h:154
unsigned int nall
Definition: EwkMuDQM.h:88
int nMatchesCut_
Definition: EwkMuDQM.h:58
virtual void endJob()
Definition: EwkMuDQM.cc:263
MonitorElement * phEta_
Definition: EwkMuDQM.h:172
EwkMuDQM(const edm::ParameterSet &)
Definition: EwkMuDQM.cc:37
virtual void beginJob()
Definition: EwkMuDQM.cc:126
MonitorElement * njets_afterZ_
Definition: EwkMuDQM.h:119
unsigned int nrec
Definition: EwkMuDQM.h:89
MonitorElement * iso2_afterZ_
Definition: EwkMuDQM.h:146
double mtMax_
Definition: EwkMuDQM.h:68
MonitorElement * npvs_before_
Definition: EwkMuDQM.h:156
double ptThrForPhoton_
Definition: EwkMuDQM.h:82
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:66
MonitorElement * muoncharge_before_
Definition: EwkMuDQM.h:160
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
Definition: EwkMuDQM.h:49
MonitorElement * eta2_afterZ_
Definition: EwkMuDQM.h:143
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:158
MonitorElement * leadingjet_eta_before_
Definition: EwkMuDQM.h:123
std::vector< std::string > trigPathNames_
Definition: EwkMuDQM.h:50
double eJetMin_
Definition: EwkMuDQM.h:79
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:91
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:266
MonitorElement * ngoodmuons_
Definition: EwkMuDQM.h:165
MonitorElement * n_zselPt2thr_
Definition: EwkMuDQM.h:150
double metMin_
Definition: EwkMuDQM.h:65
MonitorElement * pt2_afterZ_
Definition: EwkMuDQM.h:142
double ptThrForZ2_
Definition: EwkMuDQM.h:74
void init_histograms()
Definition: EwkMuDQM.cc:130
int nJetMax_
Definition: EwkMuDQM.h:80
HLTConfigProvider hltConfigProvider_
Definition: EwkMuDQM.h:86
unsigned int nsel
Definition: EwkMuDQM.h:93
MonitorElement * met_afterZ_
Definition: EwkMuDQM.h:136
double dxyCut_
Definition: EwkMuDQM.h:53
bool isAlsoTrackerMuon_
Definition: EwkMuDQM.h:52
MonitorElement * leadingjet_eta_after_
Definition: EwkMuDQM.h:124
double dimuonMassMin_
Definition: EwkMuDQM.h:76
bool isCombinedIso_
Definition: EwkMuDQM.h:61
double dimuonMassMax_
Definition: EwkMuDQM.h:77
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:60
MonitorElement * pfphEta_
Definition: EwkMuDQM.h:171
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: EwkMuDQM.cc:109
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:164
double normalizedChi2Cut_
Definition: EwkMuDQM.h:54
edm::InputTag metTag_
Definition: EwkMuDQM.h:41
MonitorElement * pt_after_
Definition: EwkMuDQM.h:99
MonitorElement * iso_after_
Definition: EwkMuDQM.h:107
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:55
double mtMin_
Definition: EwkMuDQM.h:67
unsigned int nz
Definition: EwkMuDQM.h:94
MonitorElement * phPt_
Definition: EwkMuDQM.h:170
double ptThrForZ1_
Definition: EwkMuDQM.h:73
edm::EDGetTokenT< edm::View< reco::Jet > > jetToken_
Definition: EwkMuDQM.h:46
MonitorElement * dxy_after_
Definition: EwkMuDQM.h:103
int muonHitsCut_
Definition: EwkMuDQM.h:57
MonitorElement * met_after_
Definition: EwkMuDQM.h:113
edm::EDGetTokenT< edm::View< reco::Muon > > muonTag_
Definition: EwkMuDQM.h:44
MonitorElement * n_zselPt1thr_
Definition: EwkMuDQM.h:149
unsigned int niso
Definition: EwkMuDQM.h:90
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: EwkMuDQM.cc:270
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:153
Definition: Run.h:41
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:122
MonitorElement * acop_after_
Definition: EwkMuDQM.h:115