CMS 3D CMS Logo

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