CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TdeECALClient.h
Go to the documentation of this file.
1 #ifndef DQM_L1TMONITORCLIENT_L1TDEECALCLIENT_H
2 #define DQM_L1TMONITORCLIENT_L1TDEECALCLIENT_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 ~L1TdeECALClient();
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 
65  std::string monitorDir_;
66  bool verbose_;
67  int counterLS_;
71 
72  // -------- member data --------
76 
77 
78 };
79 
80 #endif
int prescaleLS_
counter
void endJob()
Endjob.
int prescaleEvt_
units of lumi sections
edm::ParameterSet parameters_
TH1F * get1DHisto(std::string meName, DQMStore *dbi)
TProfile * get1DProfile(std::string meName, DQMStore *dbi)
void beginJob(void)
BeginJob.
L1TdeECALClient(const edm::ParameterSet &ps)
Constructor.
TH2F * get2DHisto(std::string meName, DQMStore *dbi)
MonitorElement * ecalEtMapDiff1D_proj
prescale on number of events
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
DQM Client Diagnostic.
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
MonitorElement * ecalEtMapDiff_badChs
int counterEvt_
counter
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
std::string monitorDir_
virtual ~L1TdeECALClient()
Destructor.
TProfile2D * get2DProfile(std::string meName, DQMStore *dbi)
void analyze(const edm::Event &e, const edm::EventSetup &c)
Fake Analyze.
MonitorElement * ecalEtMapDiff1D_proj_badChs
Definition: Run.h:31