CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TopValidation.h
Go to the documentation of this file.
1 
2 #ifndef HLTriggerOffline_TopValidation_H
3 #define HLTriggerOffline_TopValidation_H
4 
5 
6 // system include files
7 #include <memory>
8 #include <string>
9 
10 // user include files
16 
24 //#include "DataFormats/CaloTowers/interface/CaloTowerCollection.h"
25 
28 /*#include "DataFormats/METReco/interface/MET.h"
29 #include "DataFormats/METReco/interface/CaloMETCollection.h"
30 #include "DataFormats/METReco/interface/GenMET.h"
31 #include "DataFormats/METReco/interface/GenMETCollection.h" */
32 
33 //#include "SimDataFormats/HepMCProduct/interface/HepMCProduct.h"
34 
38 
39 
40 
41 //#include "DataFormats/VertexReco/interface/Vertex.h"
42 //#include "RecoVertex/PrimaryVertexProducer/interface/PrimaryVertexSorter.h"
49 
55 
57 //#include "PhysicsTools/UtilAlgos/interface/TFileService.h"
58 
59 
60 //Include DQM core
63 
64 
65 #include "TH1F.h"
66 #include "TVector3.h"
67 #include "TLorentzVector.h"
68 #include <string>
69 #include <sstream>
70 #include <cstdlib>
71 #include <cmath>
72 #include <TMath.h>
73 #include "TFile.h"
74 
75 
76 
77 class TH1F;
78 
79 //
80 // class decleration
81 //
82 
84 public:
85  explicit TopValidation(const edm::ParameterSet&);
87 
88 
89 private:
90  virtual void beginJob() ;
91  virtual void analyze(const edm::Event&, const edm::EventSetup&);
92  virtual void endJob() ;
93 
94  // edm::Service<TFileService> fs;
95 
96 
97  // ----------member data ---------------------------
98 
99  std::string fOutputFileName ;
100 
101  std::string outFile_, outputFileName;
102 
104 
105 
106 
108 
110 
112 
113  // semimu events
114 
117 
118 
119  // dimu events
120 
125 
126 // semiel events
127 
130 
131 
132  //diel events
133 
138 
139  // emu events
140 
145 
146 
154 
156 
161 
166 
171 
172  /***********/
173 
178 
181 
184 
187 
190 
195 
206 
209 
210 
211 
212 
214  std::vector<std::string> hlt_bitnames;
215  std::vector<std::string> hlt_bitnamesMu;
216  std::vector<std::string> hlt_bitnamesEg;
217  std::vector<std::string> hlt_bitnamesJet;
218 
219 
220  //Just a tag for better file organization
221  std::string triggerTag_;
222 
223 
224  // Top folder in root file
225  std::string FolderName_;
226  std::stringstream topFolder;
227 
228 
229 
230 };
231 
232 
233 #endif
MonitorElement * etamuon_4jet1muSel_hltmu9
MonitorElement * pt_off_dimu1
MonitorElement * eta_off_emu_muon
MonitorElement * h_etamu1_trig[100]
MonitorElement * ptmuon_4jet1muSel_hltmu9
MonitorElement * h_etjet1_trig_el[100]
MonitorElement * h_mu_gen
MonitorElement * events_acc_off_muon
MonitorElement * eta_off_mu
MonitorElement * h_etael1_trig_em[100]
MonitorElement * hlt_bitel_hist_reco
MonitorElement * et_off_jet_mu
MonitorElement * eta_off_dimu2
MonitorElement * njets_off_mu
MonitorElement * h_ptmu1_trig_em[100]
std::string fOutputFileName
Definition: TopValidation.h:99
TopValidation(const edm::ParameterSet &)
std::string FolderName_
MonitorElement * hlt_bitel_hist_gen
MonitorElement * hlt_bitmu_hist_gen
MonitorElement * hlt_bitjet_hist_reco_el
MonitorElement * eta_off_emu_electron
MonitorElement * pt_off_diel1
std::vector< std::string > hlt_bitnamesMu
MonitorElement * pt_off_mu
MonitorElement * h_etael1_trig_diel[100]
MonitorElement * pt_off_emu_electron
MonitorElement * h_etamu1_trig_dimu[100]
std::vector< std::string > hlt_bitnames
MonitorElement * pt_off_emu_muon
MonitorElement * eta_off_dimu1
std::vector< std::string > hlt_bitnamesJet
edm::ParameterSet parameters
MonitorElement * hlt_bitmu_hist_reco
MonitorElement * h_mu_reco
MonitorElement * et_off_jet_el
MonitorElement * njets_off_el
MonitorElement * eta_off_diel2
MonitorElement * ptmuon_4jet1muSel
MonitorElement * etamuon_4jet1muSel
MonitorElement * Njets_4jet1muSel
std::string outputFileName
MonitorElement * h_ptel1_trig[100]
MonitorElement * h_ptmu1_trig_dimu[100]
MonitorElement * pt_off_diel2
MonitorElement * h_jet_gen
MonitorElement * h_etajet1_trig_el[100]
MonitorElement * h_etael1_trig[100]
DQMStore * dbe
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * h_jet_reco
std::string outFile_
bool outputMEsInRootFile
MonitorElement * eta_off_jet_el
MonitorElement * h_jet_reco_el
MonitorElement * hlt_bitjet_hist_reco
MonitorElement * h_el_gen
MonitorElement * Njets_4jet1muSel_hltmu9
virtual void endJob()
MonitorElement * h_ptmu1_trig[100]
std::vector< std::string > hlt_bitnamesEg
MonitorElement * h_etjet1_trig_mu[100]
edm::InputTag inputTag_
MonitorElement * pt_off_dimu2
virtual void beginJob()
MonitorElement * events_acc_off_electron
MonitorElement * eta_off_jet_mu
MonitorElement * eta_off_diel1
MonitorElement * h_ptel1_trig_em[100]
std::string triggerTag_
MonitorElement * h_jet_gen_el
MonitorElement * h_ptel1_trig_diel[100]
MonitorElement * h_etamu1_trig_em[100]
MonitorElement * pt_off_el
MonitorElement * hlt_bitjet_hist_gen_el
MonitorElement * h_etajet1_trig_mu[100]
MonitorElement * h_el_reco
MonitorElement * hlt_bitjet_hist_gen
MonitorElement * eta_off_el
std::stringstream topFolder