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: */
double muon_iso_cut_
double vertex_Y_cut_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * Nelecs_charge_
MonitorElement * dimassRC_
MonitorElement * D_phi_muons_
MonitorElement * D_phi_lepts_
std::string outputFile_
MonitorElement * dimassWC_LOG10_
double vertex_Z_cut_
MonitorElement * HoverE_elecs_
MonitorElement * D_eta_muons_
MonitorElement * D_phi_elecs_
std::vector< std::string > hltPaths_trig_
edm::EDGetTokenT< reco::GsfElectronCollection > elecs_
MonitorElement * phi_elecs_
MonitorElement * Nmuons_charge_
edm::EDGetTokenT< reco::VertexCollection > vertex_
MonitorElement * MuIso_sumPt03_
MonitorElement * eta_muons_
~TopDiLeptonDQM() override
MonitorElement * ElecIso_cal_
double muon_eta_cut_
MonitorElement * MuIso_nTracks03_
MonitorElement * eta_elecs_
edm::EDGetTokenT< reco::MuonCollection > muons_
MonitorElement * dimassRC_LOGX_
MonitorElement * D_eta_elecs_
MonitorElement * TriggerEff_
MonitorElement * MuIso_hoEt03_
double MassWindow_up_
TopDiLeptonDQM(const edm::ParameterSet &)
MonitorElement * Ntracks_
double elec_emf_cut_
std::ofstream outfile
MonitorElement * Nmuons_
MonitorElement * phi_muons_
MonitorElement * D_eta_lepts_
MonitorElement * Nmuons_iso_
MonitorElement * VxVy_muons_
float Eff[100]
double MassWindow_down_
MonitorElement * ElecIso_trk_
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * pT_elecs_
MonitorElement * Vz_muons_
double elec_eta_cut_
MonitorElement * ElecIso_CombRelIso_
MonitorElement * Events_
std::vector< std::string > hltPaths_
double elec_iso_cut_
MonitorElement * dimassWC_
MonitorElement * dimassWC_LOGX_
std::string moduleName_
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
MonitorElement * MuIso_nJets03_
std::vector< std::string > hltPaths_sig_
MonitorElement * Trigs_
MonitorElement * dimassRC_LOG10_
MonitorElement * MuIso_emEt03_
MonitorElement * pT_muons_
Definition: Run.h:45
MonitorElement * Nelecs_iso_
MonitorElement * Nelecs_
double vertex_X_cut_
MonitorElement * MuIso_hadEt03_
MonitorElement * MuIso_CombRelIso03_