CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EwkElecDQM.h
Go to the documentation of this file.
1 #ifndef EwkElecDQM_H
2 #define EwkElecDQM_H
3 
13 
16 
17 class DQMStore;
18 class MonitorElement;
19 class EwkElecDQM : public edm::EDAnalyzer {
20 public:
21  EwkElecDQM (const edm::ParameterSet &);
22  virtual void analyze(const edm::Event&, const edm::EventSetup&);
23  virtual void beginJob();
24  virtual void endJob();
25  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
26  virtual void endRun(const edm::Run&, const edm::EventSetup&);
27 
28  double calcDeltaPhi(double phi1, double phi2);
29 
30  void init_histograms();
31 private:
32 
34  // edm::InputTag muonTag_;
40 
41  // const std::string muonTrig_;
42  const std::vector<std::string> elecTrig_;
43  double ptCut_;
44  double etaCut_;
45 
50 
51  // bool isRelativeIso_;
52  // bool isCombinedIso_;
53 
54  // double isoCut03_;
61  double mtMin_;
62  double mtMax_;
63  double metMin_;
64  double metMax_;
65  // double acopCut_;
66 
67  // double dxyCut_;
68  // double normalizedChi2Cut_;
69  // int trackerHitsCut_;
70  // bool isAlsoTrackerMuon_;
71 
72  // double ptThrForZ1_;
73  // double ptThrForZ2_;
74 
75  double eJetMin_;
76  int nJetMax_;
77 
78  // PU dependence
79  unsigned int PUMax_, PUBinCount_;
80 
83 
84  unsigned int nall;
85  unsigned int nrec;
86  unsigned int neid;
87  unsigned int niso;
88 /* unsigned int nhlt; */
89 /* unsigned int nmet; */
90  unsigned int nsel;
91 
92  // unsigned int nRecoElectrons;
93  unsigned int nGoodElectrons;
94 
96 
99 
102 
105 
108 
111 
114 
115 /* MonitorElement* dxy_before_; */
116 /* MonitorElement* dxy_after_; */
117 
118 /* MonitorElement* chi2_before_; */
119 /* MonitorElement* chi2_after_; */
120 
121 /* MonitorElement* nhits_before_; */
122 /* MonitorElement* nhits_after_; */
123 
124 /* MonitorElement* tkmu_before_; */
125 /* MonitorElement* tkmu_after_; */
126 
129 
132 
135 
138 
141 
144 
147 
152 
154  //MonitorElement* npvs_afterW_;
156 
159 
162 
165 
166 /* MonitorElement* acop_before_; */
167 /* MonitorElement* acop_after_; */
168 
169 /* MonitorElement* nz1_before_; */
170 /* MonitorElement* nz1_after_; */
171 
172 /* MonitorElement* nz2_before_; */
173 /* MonitorElement* nz2_after_; */
174 
181 /* MonitorElement* jet2_et_before_; */
182 /* MonitorElement* jet2_et_after_; */
183 
184 };
185 
186 
187 #endif
MonitorElement * ecalisoendcap_after_
Definition: EwkElecDQM.h:131
MonitorElement * jet_et_after_
Definition: EwkElecDQM.h:178
unsigned int nGoodElectrons
Definition: EwkElecDQM.h:93
MonitorElement * invmass_after_
Definition: EwkElecDQM.h:149
unsigned int nall
Definition: EwkElecDQM.h:84
MonitorElement * hcalisobarrel_after_
Definition: EwkElecDQM.h:134
DQMStore * theDbe
Definition: EwkElecDQM.h:95
unsigned int nsel
Definition: EwkElecDQM.h:90
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: EwkElecDQM.cc:361
double metMax_
Definition: EwkElecDQM.h:64
MonitorElement * nelectrons_before_
Definition: EwkElecDQM.h:157
HLTConfigProvider hltConfigProvider_
Definition: EwkElecDQM.h:82
double sieieCutBarrel_
Definition: EwkElecDQM.h:46
MonitorElement * sieieendcap_before_
Definition: EwkElecDQM.h:106
MonitorElement * sieieendcap_after_
Definition: EwkElecDQM.h:107
MonitorElement * ecalisobarrel_before_
Definition: EwkElecDQM.h:127
edm::InputTag jetTag_
Definition: EwkElecDQM.h:38
virtual void beginJob()
Definition: EwkElecDQM.cc:125
MonitorElement * sieiebarrel_before_
Definition: EwkElecDQM.h:103
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: EwkElecDQM.cc:106
MonitorElement * hcalisobarrel_before_
Definition: EwkElecDQM.h:133
MonitorElement * detainbarrel_after_
Definition: EwkElecDQM.h:110
MonitorElement * ecalisobarrel_after_
Definition: EwkElecDQM.h:128
MonitorElement * detainendcap_before_
Definition: EwkElecDQM.h:112
MonitorElement * trig_before_
Definition: EwkElecDQM.h:145
MonitorElement * sieiebarrel_after_
Definition: EwkElecDQM.h:104
MonitorElement * detainbarrel_before_
Definition: EwkElecDQM.h:109
MonitorElement * mt_before_
Definition: EwkElecDQM.h:160
MonitorElement * nelectrons_after_
Definition: EwkElecDQM.h:158
edm::InputTag vertexTag_
Definition: EwkElecDQM.h:39
MonitorElement * hcalisoendcap_before_
Definition: EwkElecDQM.h:136
MonitorElement * npvs_afterZ_
Definition: EwkElecDQM.h:155
unsigned int niso
Definition: EwkElecDQM.h:87
double calcDeltaPhi(double phi1, double phi2)
Definition: EwkElecDQM.cc:1023
MonitorElement * mt_after_
Definition: EwkElecDQM.h:161
double ecalIsoCutEndcap_
Definition: EwkElecDQM.h:56
MonitorElement * jet_et_before_
Definition: EwkElecDQM.h:177
double detainCutEndcap_
Definition: EwkElecDQM.h:49
MonitorElement * njets_after_
Definition: EwkElecDQM.h:176
MonitorElement * pt_before_
Definition: EwkElecDQM.h:97
MonitorElement * pt_after_
Definition: EwkElecDQM.h:98
edm::InputTag elecTag_
Definition: EwkElecDQM.h:35
bool metIncludesMuons_
Definition: EwkElecDQM.h:37
double metMin_
Definition: EwkElecDQM.h:63
double trkIsoCutEndcap_
Definition: EwkElecDQM.h:60
unsigned int PUBinCount_
Definition: EwkElecDQM.h:79
virtual void endRun(const edm::Run &, const edm::EventSetup &)
Definition: EwkElecDQM.cc:276
unsigned int nrec
Definition: EwkElecDQM.h:85
MonitorElement * hcalisoendcap_after_
Definition: EwkElecDQM.h:137
int nJetMax_
Definition: EwkElecDQM.h:76
edm::InputTag trigTag_
Definition: EwkElecDQM.h:33
EwkElecDQM(const edm::ParameterSet &)
Definition: EwkElecDQM.cc:39
double ecalIsoCutBarrel_
Definition: EwkElecDQM.h:55
double trkIsoCutBarrel_
Definition: EwkElecDQM.h:59
edm::InputTag metTag_
Definition: EwkElecDQM.h:36
MonitorElement * invmass_before_
Definition: EwkElecDQM.h:148
MonitorElement * ecalisoendcap_before_
Definition: EwkElecDQM.h:130
unsigned int PUMax_
Definition: EwkElecDQM.h:79
MonitorElement * jet_eta_after_
Definition: EwkElecDQM.h:180
MonitorElement * trig_after_
Definition: EwkElecDQM.h:146
MonitorElement * jet_eta_before_
Definition: EwkElecDQM.h:179
unsigned int neid
Definition: EwkElecDQM.h:86
double etaCut_
Definition: EwkElecDQM.h:44
double hcalIsoCutBarrel_
Definition: EwkElecDQM.h:57
bool isValidHltConfig_
Definition: EwkElecDQM.h:81
MonitorElement * detainendcap_after_
Definition: EwkElecDQM.h:113
MonitorElement * njets_before_
Definition: EwkElecDQM.h:175
MonitorElement * invmassPU_afterZ_
Definition: EwkElecDQM.h:151
MonitorElement * trkisobarrel_before_
Definition: EwkElecDQM.h:139
double sieieCutEndcap_
Definition: EwkElecDQM.h:47
MonitorElement * met_before_
Definition: EwkElecDQM.h:163
MonitorElement * trkisoendcap_before_
Definition: EwkElecDQM.h:142
MonitorElement * met_after_
Definition: EwkElecDQM.h:164
double eJetMin_
Definition: EwkElecDQM.h:75
virtual void endJob()
Definition: EwkElecDQM.cc:273
MonitorElement * trkisobarrel_after_
Definition: EwkElecDQM.h:140
void init_histograms()
Definition: EwkElecDQM.cc:129
double mtMax_
Definition: EwkElecDQM.h:62
MonitorElement * eta_after_
Definition: EwkElecDQM.h:101
double detainCutBarrel_
Definition: EwkElecDQM.h:48
const std::vector< std::string > elecTrig_
Definition: EwkElecDQM.h:42
MonitorElement * npvs_before_
Definition: EwkElecDQM.h:153
MonitorElement * trkisoendcap_after_
Definition: EwkElecDQM.h:143
double hcalIsoCutEndcap_
Definition: EwkElecDQM.h:58
MonitorElement * eta_before_
Definition: EwkElecDQM.h:100
MonitorElement * invmassPU_before_
Definition: EwkElecDQM.h:150
Definition: Run.h:33
double mtMin_
Definition: EwkElecDQM.h:61
double ptCut_
Definition: EwkElecDQM.h:43