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