CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTEventInfoClient.h
Go to the documentation of this file.
1 #ifndef DQM_HLTMONITORCLIENT_HLTEventInfoClient_H
2 #define DQM_HLTMONITORCLIENT_HLTEventInfoClient_H
3 
10 
11 #include <memory>
12 #include <iostream>
13 #include <fstream>
14 #include <string>
15 #include <vector>
16 #include <map>
17 #include <TH1F.h>
18 #include <TH2F.h>
19 #include <TProfile2D.h>
20 
21 
22 
24 
25 public:
26 
29 
31  virtual ~HLTEventInfoClient();
32 
33 protected:
34 
36  void beginJob();
37 
39  void beginRun(const edm::Run& r, const edm::EventSetup& c);
40 
42  void analyze(const edm::Event& e, const edm::EventSetup& c) ;
43 
44  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
45  const edm::EventSetup& context) ;
46 
48  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
49  const edm::EventSetup& c);
50 
52  void endRun(const edm::Run& r, const edm::EventSetup& c);
53 
55  void endJob();
56 
57 private:
58 
59  void initialize();
60  TH1F * get1DHisto(std::string meName, DQMStore * dbi);
61  TH2F * get2DHisto(std::string meName, DQMStore * dbi);
62  TProfile2D * get2DProfile(std::string meName, DQMStore * dbi);
63  TProfile * get1DProfile(std::string meName, DQMStore * dbi);
65 
68  bool verbose_;
69  int counterLS_;
73  int nChannels;
74  Float_t reportSummary;
75  Float_t summarySum;
76  Float_t summaryContent[20];
77  // -------- member data --------
78 
82 
83 
84 };
85 
86 #endif
TProfile * get1DProfile(std::string meName, DQMStore *dbi)
TH2F * get2DHisto(std::string meName, DQMStore *dbi)
TH1F * get1DHisto(std::string meName, DQMStore *dbi)
int prescaleEvt_
units of lumi sections
int nChannels
prescale on number of events
void beginJob()
BeginJob.
MonitorElement * reportSummaryContent_[20]
edm::ParameterSet parameters_
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
DQM Client Diagnostic.
MonitorElement * reportSummaryMap_
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
virtual ~HLTEventInfoClient()
Destructor.
Float_t summaryContent[20]
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
TProfile2D * get2DProfile(std::string meName, DQMStore *dbi)
void analyze(const edm::Event &e, const edm::EventSetup &c)
Fake Analyze.
MonitorElement * reportSummary_
Definition: Run.h:41
HLTEventInfoClient(const edm::ParameterSet &ps)
Constructor.