CMS 3D CMS Logo

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