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 
20 
35 
36 class TH1F;
37 class TH2F;
38 
39 class TopDiLeptonDQM : public DQMEDAnalyzer {
40  public:
41  explicit TopDiLeptonDQM(const edm::ParameterSet&);
42  ~TopDiLeptonDQM() override;
43 
44  protected:
46  edm::EventSetup const&) override;
47  private:
48  void analyze(const edm::Event&, const edm::EventSetup&) override;
49 
53  std::vector<std::string> hltPaths_;
54  std::vector<std::string> hltPaths_sig_;
55  std::vector<std::string> hltPaths_trig_;
56 
57  std::ofstream outfile;
58 
59  int N_sig[100];
60  int N_trig[100];
61  float Eff[100];
62 
63  int N_mumu;
64  int N_muel;
65  int N_elel;
66 
68  double vertex_X_cut_;
69  double vertex_Y_cut_;
70  double vertex_Z_cut_;
71 
73  double muon_pT_cut_;
74  double muon_eta_cut_;
75  double muon_iso_cut_;
76 
78  double elec_pT_cut_;
79  double elec_eta_cut_;
80  double elec_iso_cut_;
81  double elec_emf_cut_;
82 
85 
90 
99 
107 
115 
119 
126 
133 };
134 
135 #endif
136 
137 /* Local Variables: */
138 /* show-trailing-whitespace: t */
139 /* truncate-lines: t */
140 /* 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:44
MonitorElement * Nelecs_iso_
MonitorElement * Nelecs_
double vertex_X_cut_
MonitorElement * MuIso_hadEt03_
MonitorElement * MuIso_CombRelIso03_