CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TEventInfoClient.h
Go to the documentation of this file.
1 #ifndef DQM_L1TMONITORCLIENT_L1TEventInfoClient_H
2 #define DQM_L1TMONITORCLIENT_L1TEventInfoClient_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 
22 
23 public:
24 
27 
29  virtual ~L1TEventInfoClient();
30 
31 protected:
32 
34  void beginJob(void);
35 
37  void beginRun(const edm::Run& r, const edm::EventSetup& c);
38 
40  void analyze(const edm::Event& e, const edm::EventSetup& c) ;
41 
42  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
43  const edm::EventSetup& context) ;
44 
46  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
47  const edm::EventSetup& c);
48 
50  void endRun(const edm::Run& r, const edm::EventSetup& c);
51 
53  void endJob();
54 
55 private:
56 
57  void initialize();
58  TH1F * get1DHisto(std::string meName, DQMStore * dbi);
59  TH2F * get2DHisto(std::string meName, DQMStore * dbi);
60  TProfile2D * get2DProfile(std::string meName, DQMStore * dbi);
61  TProfile * get1DProfile(std::string meName, DQMStore * dbi);
63  std::string StringToUpper(std::string strToConvert);
64 
66  std::string monitorDir_;
67  bool verbose_;
68  int counterLS_;
73  int nChannels;
74 
80 
88 
89  std::map<std::string, DataValue> s_mapDataValues;
90  std::map<std::string, EmulValue> s_mapEmulValues;
91 
92  static const int nsys_=18;
93 
94  Float_t reportSummary;
95  Float_t summarySum;
96  Float_t summaryContent[20];
97  std::vector<std::string> dataMask;
98  std::vector<std::string> emulMask;
99 
100  // -------- member data --------
101 
105 
106 
107 };
108 
109 #endif
L1TEventInfoClient(const edm::ParameterSet &ps)
Constructor.
edm::ParameterSet parameters_
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
TProfile2D * get2DProfile(std::string meName, DQMStore *dbi)
std::map< std::string, EmulValue > s_mapEmulValues
TH2F * get2DHisto(std::string meName, DQMStore *dbi)
MonitorElement * reportSummaryContent_[20]
void beginJob(void)
BeginJob.
Float_t summaryContent[20]
void analyze(const edm::Event &e, const edm::EventSetup &c)
Fake Analyze.
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
MonitorElement * reportSummary_
int prescaleEvt_
units of lumi sections
virtual ~L1TEventInfoClient()
Destructor.
static const int nsys_
std::vector< std::string > emulMask
int nChannels
prescale on number of events
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
DQM Client Diagnostic.
std::map< std::string, DataValue > s_mapDataValues
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
int thresholdLS_
units of lumi sections
std::vector< std::string > dataMask
MonitorElement * reportSummaryMap_
Definition: Run.h:33
std::string StringToUpper(std::string strToConvert)
TProfile * get1DProfile(std::string meName, DQMStore *dbi)
TH1F * get1DHisto(std::string meName, DQMStore *dbi)