CMS 3D CMS Logo

EwkMuDQM.h
Go to the documentation of this file.
1 #ifndef EwkMuDQM_H
2 #define EwkMuDQM_H
3 
13 
14 // #include "FWCore/Framework/interface/EDAnalyzer.h"
18 
19 namespace reco {
20  class Muon;
21  class Jet;
22  class MET;
23  class Vertex;
24  class Photon;
25  class BeamSpot;
26 } // namespace reco
27 
28 class EwkMuDQM : public DQMEDAnalyzer {
29 public:
31  void analyze(const edm::Event&, const edm::EventSetup&) override;
32 
33 protected:
34  //Book histograms
35  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
36  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
37 
38  void init_histograms();
39 
40 private:
50  std::vector<std::string> trigPathNames_;
51 
53  double dxyCut_;
59 
62  double isoCut03_;
63 
64  double acopCut_;
65  double metMin_;
66  double metMax_;
67  double mtMin_;
68  double mtMax_;
69 
70  double ptCut_;
71  double etaCut_;
72 
73  double ptThrForZ1_;
74  double ptThrForZ2_;
75 
78 
79  double eJetMin_;
80  int nJetMax_;
81 
83  int nPhoMax_;
84 
87 
88  unsigned int nall;
89  unsigned int nrec;
90  unsigned int niso;
91  unsigned int nhlt;
92  unsigned int nmet;
93  unsigned int nsel;
94  unsigned int nz;
95 
114 
124 
125  // MonitorElement* ptPlus_before_;
126  // MonitorElement* ptMinus_before_;
128  // MonitorElement* ptPlus_afterW_;
129  // MonitorElement* ptMinus_afterW_;
130  // MonitorElement* ptPlus_afterZ_;
131  // MonitorElement* ptMinus_afterZ_;
133 
145 
146  // filled if there is a Z-candidate
147  MonitorElement* n_zselPt1thr_; // number of muons in the event with pt>pt1thr
148  MonitorElement* n_zselPt2thr_; // number of muons in the event with pt>pt2thr
149 
153 
157 
161 
164 
171 };
172 
173 #endif
174 
175 // Local Variables:
176 // show-trailing-whitespace: t
177 // truncate-lines: t
178 // End:
EwkMuDQM::ptThrForPhoton_
double ptThrForPhoton_
Definition: EwkMuDQM.h:82
EwkMuDQM::leadingjet_pt_before_
MonitorElement * leadingjet_pt_before_
Definition: EwkMuDQM.h:118
EwkMuDQM::dxy_after_
MonitorElement * dxy_after_
Definition: EwkMuDQM.h:101
EwkMuDQM::metMax_
double metMax_
Definition: EwkMuDQM.h:66
EwkMuDQM::dxyCut_
double dxyCut_
Definition: EwkMuDQM.h:53
EwkMuDQM::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: EwkMuDQM.cc:117
EwkMuDQM::isoCut03_
double isoCut03_
Definition: EwkMuDQM.h:62
EwkMuDQM::beamSpotTag_
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
Definition: EwkMuDQM.h:49
EwkMuDQM::leadingjet_eta_before_
MonitorElement * leadingjet_eta_before_
Definition: EwkMuDQM.h:121
EwkMuDQM::npvs_before_
MonitorElement * npvs_before_
Definition: EwkMuDQM.h:154
EwkMuDQM::muoncharge_before_
MonitorElement * muoncharge_before_
Definition: EwkMuDQM.h:158
EwkMuDQM::ptThrForZ2_
double ptThrForZ2_
Definition: EwkMuDQM.h:74
EwkMuDQM::niso
unsigned int niso
Definition: EwkMuDQM.h:90
align::BeamSpot
Definition: StructureType.h:95
EwkMuDQM::mt_after_
MonitorElement * mt_after_
Definition: EwkMuDQM.h:109
EwkMuDQM::njets_before_
MonitorElement * njets_before_
Definition: EwkMuDQM.h:115
EwkMuDQM::eta2_afterZ_
MonitorElement * eta2_afterZ_
Definition: EwkMuDQM.h:141
edm::Run
Definition: Run.h:45
EwkMuDQM::leadingjet_pt_afterZ_
MonitorElement * leadingjet_pt_afterZ_
Definition: EwkMuDQM.h:120
EwkMuDQM::eta_before_
MonitorElement * eta_before_
Definition: EwkMuDQM.h:98
edm::EDGetTokenT< edm::TriggerResults >
EwkMuDQM::isRelativeIso_
bool isRelativeIso_
Definition: EwkMuDQM.h:60
EwkMuDQM::goodewkmuon2_afterZ_
MonitorElement * goodewkmuon2_afterZ_
Definition: EwkMuDQM.h:143
EwkMuDQM::met_before_
MonitorElement * met_before_
Definition: EwkMuDQM.h:110
EwkMuDQM::pfphPt_
MonitorElement * pfphPt_
Definition: EwkMuDQM.h:167
EwkMuDQM::nrec
unsigned int nrec
Definition: EwkMuDQM.h:89
EwkMuDQM::eta1_afterZ_
MonitorElement * eta1_afterZ_
Definition: EwkMuDQM.h:136
EwkMuDQM::nPhoMax_
int nPhoMax_
Definition: EwkMuDQM.h:83
EwkMuDQM::eJetMin_
double eJetMin_
Definition: EwkMuDQM.h:79
EwkMuDQM::ztrig_afterZ_
MonitorElement * ztrig_afterZ_
Definition: EwkMuDQM.h:150
EwkMuDQM::nph_
MonitorElement * nph_
Definition: EwkMuDQM.h:166
EwkMuDQM::nz
unsigned int nz
Definition: EwkMuDQM.h:94
EwkMuDQM::isCombinedIso_
bool isCombinedIso_
Definition: EwkMuDQM.h:61
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
EwkMuDQM::goodewkmuon_after_
MonitorElement * goodewkmuon_after_
Definition: EwkMuDQM.h:103
EwkMuDQM::pt1_afterZ_
MonitorElement * pt1_afterZ_
Definition: EwkMuDQM.h:135
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
EwkMuDQM::muonHitsCut_
int muonHitsCut_
Definition: EwkMuDQM.h:57
Muon
Definition: Muon.py:1
EwkMuDQM::trig_after_
MonitorElement * trig_after_
Definition: EwkMuDQM.h:107
EwkMuDQM::metMin_
double metMin_
Definition: EwkMuDQM.h:65
EwkMuDQM::trigPathNames_
std::vector< std::string > trigPathNames_
Definition: EwkMuDQM.h:50
MakerMacros.h
EwkMuDQM::eta_after_
MonitorElement * eta_after_
Definition: EwkMuDQM.h:99
EwkMuDQM::init_histograms
void init_histograms()
Jet
Definition: Jet.py:1
EwkMuDQM::phoTag_
edm::EDGetTokenT< edm::View< reco::Photon > > phoTag_
Definition: EwkMuDQM.h:47
EwkMuDQM::npvs_afterZ_
MonitorElement * npvs_afterZ_
Definition: EwkMuDQM.h:156
EwkMuDQM::pt2_afterZ_
MonitorElement * pt2_afterZ_
Definition: EwkMuDQM.h:140
EwkMuDQM::dxy2_afterZ_
MonitorElement * dxy2_afterZ_
Definition: EwkMuDQM.h:142
EwkMuDQM::muonTag_
edm::EDGetTokenT< edm::View< reco::Muon > > muonTag_
Definition: EwkMuDQM.h:44
EwkMuDQM::dimuonMassMax_
double dimuonMassMax_
Definition: EwkMuDQM.h:77
EwkMuDQM::isAlsoTrackerMuon_
bool isAlsoTrackerMuon_
Definition: EwkMuDQM.h:52
EwkMuDQM::acop_before_
MonitorElement * acop_before_
Definition: EwkMuDQM.h:112
EwkMuDQM::trigTag_
edm::EDGetTokenT< edm::TriggerResults > trigTag_
Definition: EwkMuDQM.h:43
EwkMuDQM::pt_before_
MonitorElement * pt_before_
Definition: EwkMuDQM.h:96
EwkMuDQM
Definition: EwkMuDQM.h:28
EwkMuDQM::ptDiffPM_afterZ_
MonitorElement * ptDiffPM_afterZ_
Definition: EwkMuDQM.h:132
EwkMuDQM::leadingjet_pt_after_
MonitorElement * leadingjet_pt_after_
Definition: EwkMuDQM.h:119
EwkMuDQM::vertexTag_
edm::EDGetTokenT< edm::View< reco::Vertex > > vertexTag_
Definition: EwkMuDQM.h:48
EwkMuDQM::dimuonmass_before_
MonitorElement * dimuonmass_before_
Definition: EwkMuDQM.h:151
DQMEDAnalyzer.h
EwkMuDQM::metTag_
edm::InputTag metTag_
Definition: EwkMuDQM.h:41
EwkMuDQM::muoncharge_afterZ_
MonitorElement * muoncharge_afterZ_
Definition: EwkMuDQM.h:160
EwkMuDQM::pt_after_
MonitorElement * pt_after_
Definition: EwkMuDQM.h:97
EwkMuDQM::hltPrescaleProvider_
HLTPrescaleProvider hltPrescaleProvider_
Definition: EwkMuDQM.h:86
EwkMuDQM::acopCut_
double acopCut_
Definition: EwkMuDQM.h:64
EwkMuDQM::n_zselPt2thr_
MonitorElement * n_zselPt2thr_
Definition: EwkMuDQM.h:148
EwkMuDQM::leadingjet_eta_afterZ_
MonitorElement * leadingjet_eta_afterZ_
Definition: EwkMuDQM.h:123
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
EwkMuDQM::isValidHltConfig_
bool isValidHltConfig_
Definition: EwkMuDQM.h:85
EwkMuDQM::nMatchesCut_
int nMatchesCut_
Definition: EwkMuDQM.h:58
EwkMuDQM::iso1_afterZ_
MonitorElement * iso1_afterZ_
Definition: EwkMuDQM.h:139
edm::ParameterSet
Definition: ParameterSet.h:47
EwkMuDQM::jetToken_
edm::EDGetTokenT< edm::View< reco::Jet > > jetToken_
Definition: EwkMuDQM.h:46
EwkMuDQM::n_zselPt1thr_
MonitorElement * n_zselPt1thr_
Definition: EwkMuDQM.h:147
EwkMuDQM::nmuons_
MonitorElement * nmuons_
Definition: EwkMuDQM.h:162
EwkMuDQM::dimuonmass_afterZ_
MonitorElement * dimuonmass_afterZ_
Definition: EwkMuDQM.h:152
EwkMuDQM::normalizedChi2Cut_
double normalizedChi2Cut_
Definition: EwkMuDQM.h:54
EwkMuDQM::iso_after_
MonitorElement * iso_after_
Definition: EwkMuDQM.h:105
Photon
Definition: Photon.py:1
EwkMuDQM::nsel
unsigned int nsel
Definition: EwkMuDQM.h:93
EwkMuDQM::nmet
unsigned int nmet
Definition: EwkMuDQM.h:92
EwkMuDQM::trig_before_
MonitorElement * trig_before_
Definition: EwkMuDQM.h:106
EwkMuDQM::npvs_after_
MonitorElement * npvs_after_
Definition: EwkMuDQM.h:155
HLTPrescaleProvider
Definition: HLTPrescaleProvider.h:38
edm::EventSetup
Definition: EventSetup.h:58
EwkMuDQM::pfphEta_
MonitorElement * pfphEta_
Definition: EwkMuDQM.h:169
EwkMuDQM::mt_before_
MonitorElement * mt_before_
Definition: EwkMuDQM.h:108
EwkMuDQM::ngoodmuons_
MonitorElement * ngoodmuons_
Definition: EwkMuDQM.h:163
EwkMuDQM::npfph_
MonitorElement * npfph_
Definition: EwkMuDQM.h:165
EwkMuDQM::etaCut_
double etaCut_
Definition: EwkMuDQM.h:71
EwkMuDQM::mtMax_
double mtMax_
Definition: EwkMuDQM.h:68
EwkMuDQM::ptDiffPM_before_
MonitorElement * ptDiffPM_before_
Definition: EwkMuDQM.h:127
InputTag.h
EwkMuDQM::nJetMax_
int nJetMax_
Definition: EwkMuDQM.h:80
EwkMuDQM::jetTag_
edm::InputTag jetTag_
Definition: EwkMuDQM.h:42
EwkMuDQM::mtMin_
double mtMin_
Definition: EwkMuDQM.h:67
EwkMuDQM::met_after_
MonitorElement * met_after_
Definition: EwkMuDQM.h:111
EwkMuDQM::ptThrForZ1_
double ptThrForZ1_
Definition: EwkMuDQM.h:73
EwkMuDQM::metToken_
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
Definition: EwkMuDQM.h:45
HltBtagValidation_cff.Vertex
Vertex
Definition: HltBtagValidation_cff.py:32
EwkMuDQM::dimuonMassMin_
double dimuonMassMin_
Definition: EwkMuDQM.h:76
Frameworkfwd.h
EwkMuDQM::iso_before_
MonitorElement * iso_before_
Definition: EwkMuDQM.h:104
EwkMuDQM::nhlt
unsigned int nhlt
Definition: EwkMuDQM.h:91
MET
HLTPrescaleProvider.h
EwkMuDQM::njets_after_
MonitorElement * njets_after_
Definition: EwkMuDQM.h:116
dqm::implementation::IBooker
Definition: DQMStore.h:43
EwkMuDQM::nall
unsigned int nall
Definition: EwkMuDQM.h:88
EwkMuDQM::dqmBeginRun
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: EwkMuDQM.cc:101
EwkMuDQM::pixelHitsCut_
int pixelHitsCut_
Definition: EwkMuDQM.h:56
EwkMuDQM::njets_afterZ_
MonitorElement * njets_afterZ_
Definition: EwkMuDQM.h:117
EwkMuDQM::acop_after_
MonitorElement * acop_after_
Definition: EwkMuDQM.h:113
edm::Event
Definition: Event.h:73
EwkMuDQM::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: EwkMuDQM.cc:243
EwkMuDQM::goodewkmuon1_afterZ_
MonitorElement * goodewkmuon1_afterZ_
Definition: EwkMuDQM.h:138
EwkMuDQM::phEta_
MonitorElement * phEta_
Definition: EwkMuDQM.h:170
EwkMuDQM::muoncharge_after_
MonitorElement * muoncharge_after_
Definition: EwkMuDQM.h:159
EwkMuDQM::trackerHitsCut_
int trackerHitsCut_
Definition: EwkMuDQM.h:55
edm::InputTag
Definition: InputTag.h:15
EwkMuDQM::ptCut_
double ptCut_
Definition: EwkMuDQM.h:70
EwkMuDQM::goodewkmuon_before_
MonitorElement * goodewkmuon_before_
Definition: EwkMuDQM.h:102
EwkMuDQM::phPt_
MonitorElement * phPt_
Definition: EwkMuDQM.h:168
EwkMuDQM::met_afterZ_
MonitorElement * met_afterZ_
Definition: EwkMuDQM.h:134
EwkMuDQM::dxy1_afterZ_
MonitorElement * dxy1_afterZ_
Definition: EwkMuDQM.h:137
EwkMuDQM::dxy_before_
MonitorElement * dxy_before_
Definition: EwkMuDQM.h:100
EwkMuDQM::leadingjet_eta_after_
MonitorElement * leadingjet_eta_after_
Definition: EwkMuDQM.h:122
EwkMuDQM::iso2_afterZ_
MonitorElement * iso2_afterZ_
Definition: EwkMuDQM.h:144
EwkMuDQM::EwkMuDQM
EwkMuDQM(const edm::ParameterSet &)
Definition: EwkMuDQM.cc:36