CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
17 
20 
35 
36 class TH1F;
37 class TH2F;
39 
40  public:
41  explicit TopDiLeptonDQM(const edm::ParameterSet&);
43 
44  protected:
45  void beginRun(const edm::Run&, const edm::EventSetup&);
46  void endRun(const edm::Run&, const edm::EventSetup&);
47 
48  private:
49  void initialize();
50  virtual void beginJob();
51  virtual void analyze(const edm::Event&, const edm::EventSetup&);
52  virtual void endJob();
53 
56 
60  std::vector<std::string> hltPaths_;
61  std::vector<std::string> hltPaths_sig_;
62  std::vector<std::string> hltPaths_trig_;
63 
64  std::ofstream outfile;
65 
66  int N_sig[100];
67  int N_trig[100];
68  float Eff[100];
69 
70  int N_mumu;
71  int N_muel;
72  int N_elel;
73 
75  double vertex_X_cut_;
76  double vertex_Y_cut_;
77  double vertex_Z_cut_;
78 
80  double muon_pT_cut_;
81  double muon_eta_cut_;
82  double muon_iso_cut_;
83 
85  double elec_pT_cut_;
86  double elec_eta_cut_;
87  double elec_iso_cut_;
88  double elec_emf_cut_;
89 
92 
97 
106 
114 
122 
126 
133 
140 };
141 
142 #endif
143 
144 /* Local Variables: */
145 /* show-trailing-whitespace: t */
146 /* truncate-lines: t */
147 /* End: */
virtual void endJob()
double muon_iso_cut_
double vertex_Y_cut_
MonitorElement * Nelecs_charge_
MonitorElement * dimassRC_
MonitorElement * D_phi_muons_
void endRun(const edm::Run &, const edm::EventSetup &)
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_
MonitorElement * ElecIso_cal_
DQMStore * dbe_
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_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * pT_elecs_
MonitorElement * Vz_muons_
double elec_eta_cut_
MonitorElement * ElecIso_CombRelIso_
MonitorElement * Events_
std::vector< std::string > hltPaths_
double elec_iso_cut_
virtual void beginJob()
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:41
MonitorElement * Nelecs_iso_
MonitorElement * Nelecs_
double vertex_X_cut_
MonitorElement * MuIso_hadEt03_
void beginRun(const edm::Run &, const edm::EventSetup &)
MonitorElement * MuIso_CombRelIso03_