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