CMS 3D CMS Logo

TopDiLeptonDQM.h
Go to the documentation of this file.
1 #ifndef TopDiLeptonDQM_H
2 #define TopDiLeptonDQM_H
3 
4 #include <string>
5 #include <vector>
6 #include <iostream>
7 #include <fstream>
8 
16 
19 
34 
35 class TH1F;
36 class TH2F;
37 
38 class TopDiLeptonDQM : public DQMEDAnalyzer {
39 public:
40  explicit TopDiLeptonDQM(const edm::ParameterSet&);
41  ~TopDiLeptonDQM() override;
42 
43 protected:
44  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
45 
46 private:
47  void analyze(const edm::Event&, const edm::EventSetup&) override;
48 
52  std::vector<std::string> hltPaths_;
53  std::vector<std::string> hltPaths_sig_;
54  std::vector<std::string> hltPaths_trig_;
55 
56  std::ofstream outfile;
57 
58  int N_sig[100];
59  int N_trig[100];
60  float Eff[100];
61 
62  int N_mumu;
63  int N_muel;
64  int N_elel;
65 
67  double vertex_X_cut_;
68  double vertex_Y_cut_;
69  double vertex_Z_cut_;
70 
72  double muon_pT_cut_;
73  double muon_eta_cut_;
74  double muon_iso_cut_;
75 
77  double elec_pT_cut_;
78  double elec_eta_cut_;
79  double elec_iso_cut_;
80  double elec_emf_cut_;
81 
84 
89 
98 
106 
114 
118 
125 
132 };
133 
134 #endif
135 
136 /* Local Variables: */
137 /* show-trailing-whitespace: t */
138 /* truncate-lines: t */
139 /* End: */
TopDiLeptonDQM::MuIso_nTracks03_
MonitorElement * MuIso_nTracks03_
Definition: TopDiLeptonDQM.h:111
TopDiLeptonDQM::Nelecs_charge_
MonitorElement * Nelecs_charge_
Definition: TopDiLeptonDQM.h:101
TopDiLeptonDQM::elec_eta_cut_
double elec_eta_cut_
Definition: TopDiLeptonDQM.h:78
TopDiLeptonDQM::muon_eta_cut_
double muon_eta_cut_
Definition: TopDiLeptonDQM.h:73
Handle.h
TopDiLeptonDQM::moduleName_
std::string moduleName_
Definition: TopDiLeptonDQM.h:49
TopDiLeptonDQM::pT_muons_
MonitorElement * pT_muons_
Definition: TopDiLeptonDQM.h:95
Muon.h
TriggerResults.h
TopDiLeptonDQM::elec_emf_cut_
double elec_emf_cut_
Definition: TopDiLeptonDQM.h:80
TopDiLeptonDQM::pT_elecs_
MonitorElement * pT_elecs_
Definition: TopDiLeptonDQM.h:103
TopDiLeptonDQM::MuIso_CombRelIso03_
MonitorElement * MuIso_CombRelIso03_
Definition: TopDiLeptonDQM.h:113
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< edm::TriggerResults >
TopDiLeptonDQM::dimassWC_LOG10_
MonitorElement * dimassWC_LOG10_
Definition: TopDiLeptonDQM.h:124
TopDiLeptonDQM::Events_
MonitorElement * Events_
Definition: TopDiLeptonDQM.h:85
TopDiLeptonDQM::TriggerEff_
MonitorElement * TriggerEff_
Definition: TopDiLeptonDQM.h:87
DQMStore.h
TopDiLeptonDQM::N_sig
int N_sig[100]
Definition: TopDiLeptonDQM.h:58
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
TopDiLeptonDQM::muons_
edm::EDGetTokenT< reco::MuonCollection > muons_
Definition: TopDiLeptonDQM.h:71
TopDiLeptonDQM::phi_elecs_
MonitorElement * phi_elecs_
Definition: TopDiLeptonDQM.h:105
TopDiLeptonDQM::phi_muons_
MonitorElement * phi_muons_
Definition: TopDiLeptonDQM.h:97
TopDiLeptonDQM::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: TopDiLeptonDQM.cc:97
TopDiLeptonDQM::Eff
float Eff[100]
Definition: TopDiLeptonDQM.h:60
TopDiLeptonDQM::elec_pT_cut_
double elec_pT_cut_
Definition: TopDiLeptonDQM.h:77
TopDiLeptonDQM::Trigs_
MonitorElement * Trigs_
Definition: TopDiLeptonDQM.h:86
EDMException.h
MakerMacros.h
TopDiLeptonDQM::vertex_Y_cut_
double vertex_Y_cut_
Definition: TopDiLeptonDQM.h:68
TopDiLeptonDQM::N_mumu
int N_mumu
Definition: TopDiLeptonDQM.h:62
TopDiLeptonDQM::dimassRC_
MonitorElement * dimassRC_
Definition: TopDiLeptonDQM.h:119
TopDiLeptonDQM::dimassWC_
MonitorElement * dimassWC_
Definition: TopDiLeptonDQM.h:120
TopDiLeptonDQM::D_eta_lepts_
MonitorElement * D_eta_lepts_
Definition: TopDiLeptonDQM.h:130
TopDiLeptonDQM::elec_iso_cut_
double elec_iso_cut_
Definition: TopDiLeptonDQM.h:79
Service.h
TopDiLeptonDQM::Ntracks_
MonitorElement * Ntracks_
Definition: TopDiLeptonDQM.h:88
TopDiLeptonDQM::Nelecs_iso_
MonitorElement * Nelecs_iso_
Definition: TopDiLeptonDQM.h:100
MuonFwd.h
TopDiLeptonDQM::outfile
std::ofstream outfile
Definition: TopDiLeptonDQM.h:56
TopDiLeptonDQM::Nmuons_charge_
MonitorElement * Nmuons_charge_
Definition: TopDiLeptonDQM.h:92
TopDiLeptonDQM::D_phi_muons_
MonitorElement * D_phi_muons_
Definition: TopDiLeptonDQM.h:127
TopDiLeptonDQM::TopDiLeptonDQM
TopDiLeptonDQM(const edm::ParameterSet &)
Definition: TopDiLeptonDQM.cc:16
MuonIsolation.h
GsfElectron.h
TopDiLeptonDQM::eta_muons_
MonitorElement * eta_muons_
Definition: TopDiLeptonDQM.h:96
DQMEDAnalyzer.h
TopDiLeptonDQM::elecs_
edm::EDGetTokenT< reco::GsfElectronCollection > elecs_
Definition: TopDiLeptonDQM.h:76
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Vertex.h
TopDiLeptonDQM::N_elel
int N_elel
Definition: TopDiLeptonDQM.h:64
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
TopDiLeptonDQM
Definition: TopDiLeptonDQM.h:38
TopDiLeptonDQM::ElecIso_trk_
MonitorElement * ElecIso_trk_
Definition: TopDiLeptonDQM.h:116
TopDiLeptonDQM::Vz_muons_
MonitorElement * Vz_muons_
Definition: TopDiLeptonDQM.h:94
ElectronFwd.h
GsfElectronFwd.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
TopDiLeptonDQM::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: TopDiLeptonDQM.cc:168
TopDiLeptonDQM::Nelecs_
MonitorElement * Nelecs_
Definition: TopDiLeptonDQM.h:99
TopDiLeptonDQM::D_phi_lepts_
MonitorElement * D_phi_lepts_
Definition: TopDiLeptonDQM.h:131
TopDiLeptonDQM::N_muel
int N_muel
Definition: TopDiLeptonDQM.h:63
TopDiLeptonDQM::HoverE_elecs_
MonitorElement * HoverE_elecs_
Definition: TopDiLeptonDQM.h:102
GsfTrack.h
TopDiLeptonDQM::outputFile_
std::string outputFile_
Definition: TopDiLeptonDQM.h:50
edm::EventSetup
Definition: EventSetup.h:58
TopDiLeptonDQM::Nmuons_
MonitorElement * Nmuons_
Definition: TopDiLeptonDQM.h:90
TopDiLeptonDQM::MassWindow_down_
double MassWindow_down_
Definition: TopDiLeptonDQM.h:83
TopDiLeptonDQM::D_phi_elecs_
MonitorElement * D_phi_elecs_
Definition: TopDiLeptonDQM.h:129
TopDiLeptonDQM::dimassRC_LOGX_
MonitorElement * dimassRC_LOGX_
Definition: TopDiLeptonDQM.h:121
TopDiLeptonDQM::MuIso_hoEt03_
MonitorElement * MuIso_hoEt03_
Definition: TopDiLeptonDQM.h:109
InputTag.h
TopDiLeptonDQM::eta_elecs_
MonitorElement * eta_elecs_
Definition: TopDiLeptonDQM.h:104
VertexFwd.h
TopDiLeptonDQM::dimassWC_LOGX_
MonitorElement * dimassWC_LOGX_
Definition: TopDiLeptonDQM.h:122
Electron.h
TopDiLeptonDQM::MuIso_hadEt03_
MonitorElement * MuIso_hadEt03_
Definition: TopDiLeptonDQM.h:108
Ref.h
Frameworkfwd.h
TopDiLeptonDQM::MuIso_emEt03_
MonitorElement * MuIso_emEt03_
Definition: TopDiLeptonDQM.h:107
TopDiLeptonDQM::ElecIso_cal_
MonitorElement * ElecIso_cal_
Definition: TopDiLeptonDQM.h:115
TopDiLeptonDQM::hltPaths_
std::vector< std::string > hltPaths_
Definition: TopDiLeptonDQM.h:52
TopDiLeptonDQM::VxVy_muons_
MonitorElement * VxVy_muons_
Definition: TopDiLeptonDQM.h:93
TopDiLeptonDQM::D_eta_muons_
MonitorElement * D_eta_muons_
Definition: TopDiLeptonDQM.h:126
TopDiLeptonDQM::~TopDiLeptonDQM
~TopDiLeptonDQM() override
Definition: TopDiLeptonDQM.cc:95
TopDiLeptonDQM::MuIso_nJets03_
MonitorElement * MuIso_nJets03_
Definition: TopDiLeptonDQM.h:110
TopDiLeptonDQM::dimassRC_LOG10_
MonitorElement * dimassRC_LOG10_
Definition: TopDiLeptonDQM.h:123
TopDiLeptonDQM::vertex_X_cut_
double vertex_X_cut_
Definition: TopDiLeptonDQM.h:67
TopDiLeptonDQM::vertex_
edm::EDGetTokenT< reco::VertexCollection > vertex_
Definition: TopDiLeptonDQM.h:66
dqm::implementation::IBooker
Definition: DQMStore.h:43
TopDiLeptonDQM::muon_pT_cut_
double muon_pT_cut_
Definition: TopDiLeptonDQM.h:72
TopDiLeptonDQM::Nmuons_iso_
MonitorElement * Nmuons_iso_
Definition: TopDiLeptonDQM.h:91
TopDiLeptonDQM::triggerResults_
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
Definition: TopDiLeptonDQM.h:51
ParameterSet.h
TopDiLeptonDQM::MassWindow_up_
double MassWindow_up_
Definition: TopDiLeptonDQM.h:82
TopDiLeptonDQM::D_eta_elecs_
MonitorElement * D_eta_elecs_
Definition: TopDiLeptonDQM.h:128
TopDiLeptonDQM::ElecIso_CombRelIso_
MonitorElement * ElecIso_CombRelIso_
Definition: TopDiLeptonDQM.h:117
TopDiLeptonDQM::hltPaths_trig_
std::vector< std::string > hltPaths_trig_
Definition: TopDiLeptonDQM.h:54
TopDiLeptonDQM::MuIso_sumPt03_
MonitorElement * MuIso_sumPt03_
Definition: TopDiLeptonDQM.h:112
edm::Event
Definition: Event.h:73
MuonEnergy.h
TopDiLeptonDQM::muon_iso_cut_
double muon_iso_cut_
Definition: TopDiLeptonDQM.h:74
TopDiLeptonDQM::hltPaths_sig_
std::vector< std::string > hltPaths_sig_
Definition: TopDiLeptonDQM.h:53
TopDiLeptonDQM::N_trig
int N_trig[100]
Definition: TopDiLeptonDQM.h:59
TopDiLeptonDQM::vertex_Z_cut_
double vertex_Z_cut_
Definition: TopDiLeptonDQM.h:69