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:
EwkElecDQM::met_after_
MonitorElement * met_after_
Definition: EwkElecDQM.h:173
EwkElecDQM::niso
unsigned int niso
Definition: EwkElecDQM.h:98
EwkElecDQM::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: EwkElecDQM.cc:347
EwkElecDQM::detainendcap_before_
MonitorElement * detainendcap_before_
Definition: EwkElecDQM.h:121
EwkElecDQM::hcalisobarrel_after_
MonitorElement * hcalisobarrel_after_
Definition: EwkElecDQM.h:143
EwkElecDQM::hcalisobarrel_before_
MonitorElement * hcalisobarrel_before_
Definition: EwkElecDQM.h:142
EwkElecDQM::neid
unsigned int neid
Definition: EwkElecDQM.h:97
EwkElecDQM::invmassPU_before_
MonitorElement * invmassPU_before_
Definition: EwkElecDQM.h:159
EwkElecDQM::hcalIsoCutBarrel_
double hcalIsoCutBarrel_
Definition: EwkElecDQM.h:68
EwkElecDQM::nall
unsigned int nall
Definition: EwkElecDQM.h:95
align::BeamSpot
Definition: StructureType.h:89
EwkElecDQM::sieieendcap_before_
MonitorElement * sieieendcap_before_
Definition: EwkElecDQM.h:115
EwkElecDQM::nGoodElectrons
unsigned int nGoodElectrons
Definition: EwkElecDQM.h:104
EwkElecDQM::detainbarrel_after_
MonitorElement * detainbarrel_after_
Definition: EwkElecDQM.h:119
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< edm::TriggerResults >
EwkElecDQM::metMax_
double metMax_
Definition: EwkElecDQM.h:75
EwkElecDQM::sieiebarrel_after_
MonitorElement * sieiebarrel_after_
Definition: EwkElecDQM.h:113
EwkElecDQM::elecTag_
edm::EDGetTokenT< edm::View< reco::GsfElectron > > elecTag_
Definition: EwkElecDQM.h:45
EwkElecDQM::detainbarrel_before_
MonitorElement * detainbarrel_before_
Definition: EwkElecDQM.h:118
EwkElecDQM::elecTrig_
const std::vector< std::string > elecTrig_
Definition: EwkElecDQM.h:53
EwkElecDQM::pt_before_
MonitorElement * pt_before_
Definition: EwkElecDQM.h:106
EwkElecDQM::ecalisobarrel_before_
MonitorElement * ecalisobarrel_before_
Definition: EwkElecDQM.h:136
DQMOneEDAnalyzer
Definition: DQMOneEDAnalyzer.h:20
EwkElecDQM::PUBinCount_
unsigned int PUBinCount_
Definition: EwkElecDQM.h:90
DQMStore.h
EwkElecDQM::jetTag_
edm::InputTag jetTag_
Definition: EwkElecDQM.h:43
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
EwkElecDQM::eJetMin_
double eJetMin_
Definition: EwkElecDQM.h:86
EwkElecDQM::sieiebarrel_before_
MonitorElement * sieiebarrel_before_
Definition: EwkElecDQM.h:112
EwkElecDQM::hcalisoendcap_before_
MonitorElement * hcalisoendcap_before_
Definition: EwkElecDQM.h:145
EwkElecDQM::beamSpotTag_
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
Definition: EwkElecDQM.h:49
DQMOneEDAnalyzer.h
EwkElecDQM::nsel
unsigned int nsel
Definition: EwkElecDQM.h:101
EwkElecDQM::trkisoendcap_after_
MonitorElement * trkisoendcap_after_
Definition: EwkElecDQM.h:152
EwkElecDQM::nelectrons_before_
MonitorElement * nelectrons_before_
Definition: EwkElecDQM.h:166
EwkElecDQM::mt_after_
MonitorElement * mt_after_
Definition: EwkElecDQM.h:170
EwkElecDQM::nJetMax_
int nJetMax_
Definition: EwkElecDQM.h:87
dqm::legacy::DQMStore::IBooker
dqm::implementation::IBooker IBooker
Definition: DQMStore.h:729
MakerMacros.h
EwkElecDQM::trkIsoCutBarrel_
double trkIsoCutBarrel_
Definition: EwkElecDQM.h:70
EwkElecDQM::ecalIsoCutBarrel_
double ecalIsoCutBarrel_
Definition: EwkElecDQM.h:66
EwkElecDQM::pt_after_
MonitorElement * pt_after_
Definition: EwkElecDQM.h:107
EwkElecDQM::ecalisobarrel_after_
MonitorElement * ecalisobarrel_after_
Definition: EwkElecDQM.h:137
Jet
Definition: Jet.py:1
EwkElecDQM::mt_before_
MonitorElement * mt_before_
Definition: EwkElecDQM.h:169
EwkElecDQM::trkIsoCutEndcap_
double trkIsoCutEndcap_
Definition: EwkElecDQM.h:71
EwkElecDQM::npvs_afterZ_
MonitorElement * npvs_afterZ_
Definition: EwkElecDQM.h:164
EwkElecDQM::invmassPU_afterZ_
MonitorElement * invmassPU_afterZ_
Definition: EwkElecDQM.h:160
EwkElecDQM::ecalIsoCutEndcap_
double ecalIsoCutEndcap_
Definition: EwkElecDQM.h:67
EwkElecDQM::jet_et_before_
MonitorElement * jet_et_before_
Definition: EwkElecDQM.h:186
EwkElecDQM::ptCut_
double ptCut_
Definition: EwkElecDQM.h:54
EwkElecDQM::detainendcap_after_
MonitorElement * detainendcap_after_
Definition: EwkElecDQM.h:122
EwkElecDQM::vertexTag_
edm::EDGetTokenT< edm::View< reco::Vertex > > vertexTag_
Definition: EwkElecDQM.h:48
EwkElecDQM::trig_before_
MonitorElement * trig_before_
Definition: EwkElecDQM.h:154
EwkElecDQM::detainCutBarrel_
double detainCutBarrel_
Definition: EwkElecDQM.h:59
EwkElecDQM::njets_before_
MonitorElement * njets_before_
Definition: EwkElecDQM.h:184
EwkElecDQM::sieieCutBarrel_
double sieieCutBarrel_
Definition: EwkElecDQM.h:57
EwkElecDQM::trig_after_
MonitorElement * trig_after_
Definition: EwkElecDQM.h:155
EwkElecDQM::jet_eta_before_
MonitorElement * jet_eta_before_
Definition: EwkElecDQM.h:188
EwkElecDQM::dqmBeginRun
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: EwkElecDQM.cc:109
EwkElecDQM::sieieendcap_after_
MonitorElement * sieieendcap_after_
Definition: EwkElecDQM.h:116
EwkElecDQM::invmass_after_
MonitorElement * invmass_after_
Definition: EwkElecDQM.h:158
EwkElecDQM::met_before_
MonitorElement * met_before_
Definition: EwkElecDQM.h:172
EwkElecDQM::calcDeltaPhi
double calcDeltaPhi(double phi1, double phi2)
Definition: EwkElecDQM.cc:996
GsfElectronFwd.h
edm::ParameterSet
Definition: ParameterSet.h:36
EwkElecDQM::trkisoendcap_before_
MonitorElement * trkisoendcap_before_
Definition: EwkElecDQM.h:151
EwkElecDQM::sieieCutEndcap_
double sieieCutEndcap_
Definition: EwkElecDQM.h:58
EwkElecDQM::ecalisoendcap_before_
MonitorElement * ecalisoendcap_before_
Definition: EwkElecDQM.h:139
EwkElecDQM::dqmEndRun
void dqmEndRun(const edm::Run &, const edm::EventSetup &) override
Definition: EwkElecDQM.cc:237
EwkElecDQM::nrec
unsigned int nrec
Definition: EwkElecDQM.h:96
EwkElecDQM::PUMax_
unsigned int PUMax_
Definition: EwkElecDQM.h:90
EwkElecDQM::jet_eta_after_
MonitorElement * jet_eta_after_
Definition: EwkElecDQM.h:189
HLTPrescaleProvider
Definition: HLTPrescaleProvider.h:37
EwkElecDQM::metMin_
double metMin_
Definition: EwkElecDQM.h:74
EwkElecDQM::metTag_
edm::InputTag metTag_
Definition: EwkElecDQM.h:42
EwkElecDQM::hcalisoendcap_after_
MonitorElement * hcalisoendcap_after_
Definition: EwkElecDQM.h:146
edm::EventSetup
Definition: EventSetup.h:57
EwkElecDQM::trkisobarrel_after_
MonitorElement * trkisobarrel_after_
Definition: EwkElecDQM.h:149
InputTag.h
VertexFwd.h
EwkElecDQM::eta_after_
MonitorElement * eta_after_
Definition: EwkElecDQM.h:110
EwkElecDQM::mtMin_
double mtMin_
Definition: EwkElecDQM.h:72
EwkElecDQM::invmass_before_
MonitorElement * invmass_before_
Definition: EwkElecDQM.h:157
Frameworkfwd.h
EwkElecDQM::metIncludesMuons_
bool metIncludesMuons_
Definition: EwkElecDQM.h:50
EwkElecDQM::isValidHltConfig_
bool isValidHltConfig_
Definition: EwkElecDQM.h:92
EwkElecDQM
Definition: EwkElecDQM.h:27
EwkElecDQM::metToken_
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
Definition: EwkElecDQM.h:46
EwkElecDQM::eta_before_
MonitorElement * eta_before_
Definition: EwkElecDQM.h:109
MET
HLTPrescaleProvider.h
EwkElecDQM::ecalisoendcap_after_
MonitorElement * ecalisoendcap_after_
Definition: EwkElecDQM.h:140
EwkElecDQM::nelectrons_after_
MonitorElement * nelectrons_after_
Definition: EwkElecDQM.h:167
EwkElecDQM::njets_after_
MonitorElement * njets_after_
Definition: EwkElecDQM.h:185
EwkElecDQM::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: EwkElecDQM.cc:128
EwkElecDQM::EwkElecDQM
EwkElecDQM(const edm::ParameterSet &)
Definition: EwkElecDQM.cc:36
EwkElecDQM::jetToken_
edm::EDGetTokenT< edm::View< reco::Jet > > jetToken_
Definition: EwkElecDQM.h:47
EwkElecDQM::trigTag_
edm::EDGetTokenT< edm::TriggerResults > trigTag_
Definition: EwkElecDQM.h:44
EwkElecDQM::npvs_before_
MonitorElement * npvs_before_
Definition: EwkElecDQM.h:162
EwkElecDQM::mtMax_
double mtMax_
Definition: EwkElecDQM.h:73
EwkElecDQM::etaCut_
double etaCut_
Definition: EwkElecDQM.h:55
EwkElecDQM::jet_et_after_
MonitorElement * jet_et_after_
Definition: EwkElecDQM.h:187
EwkElecDQM::trkisobarrel_before_
MonitorElement * trkisobarrel_before_
Definition: EwkElecDQM.h:148
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
EwkElecDQM::detainCutEndcap_
double detainCutEndcap_
Definition: EwkElecDQM.h:60
EwkElecDQM::hltPrescaleProvider_
HLTPrescaleProvider hltPrescaleProvider_
Definition: EwkElecDQM.h:93
EwkElecDQM::hcalIsoCutEndcap_
double hcalIsoCutEndcap_
Definition: EwkElecDQM.h:69