CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalMonitorClient.h
Go to the documentation of this file.
1 #ifndef HcalMonitorClient_GUARD_H
2 #define HcalMonitorClient_GUARD_H
3 
4 /*
5  * \file HcalMonitorClient.h
6  *
7  * \author J. Temple
8  *
9  */
10 
16 
19 
20 class DQMStore;
21 class HcalChannelQuality;
22 class HcalSummaryClient;
23 
25 {
26 
27 public:
28 
29  // Constructor
31 
32  // Destructor
33  virtual ~HcalMonitorClient();
34 
36  void analyze(int LS=-1);
37  void analyze(const edm::Event & e, const edm::EventSetup & c);
38 
40  void beginJob(void);
41 
43  void endJob(void);
44 
46  void beginRun();
47  void beginRun(const edm::Run & r, const edm::EventSetup & c);
48 
50  void endRun();
51  void endRun(const edm::Run & r, const edm::EventSetup & c);
52 
55 
57  void endLuminosityBlock(const edm::LuminosityBlock & l, const edm::EventSetup & c);
58 
60  void reset(void);
61 
63  void setup(void);
64 
66  void cleanup(void);
67 
69  void softReset(bool flag);
70 
71  // Write channelStatus info
72  void writeChannelStatus();
73 
74  // Write html output
75  void writeHtml();
76 
77  void PlotPedestalValues(const HcalDbService& cond);
78 
79 private:
80  // Event counters
81  int ievt_; // all events
82  int jevt_; // events in current run
83  int run_;
84  int evt_;
85  bool begin_run_;
86  bool end_run_;
87 
88  // parameter set inputs
89  int debug_;
91  bool mergeRuns_;
92  bool cloneME_;
96  std::vector<std::string > enabledClients_;
97 
98  int updateTime_; // update time for updating histograms
100  int htmlUpdateTime_; //update time for updating histograms
102  int databaseUpdateTime_; //update time for dumping db info (offset by 10 minutes, so that always dump after 10 minutes)
103  int databaseFirstUpdate_; // first update time (in minutes)
104  int htmlFirstUpdate_; // first update for html
105 
107 
108  bool saveByLumiSection_; //produces separate LS certification values when enabled
109  bool Online_; // fix to April 2011 problem where online DQM client crashes in endJob. Is endRun perhaps not called?
110 
111  // time parameters
116 
117  std::vector<HcalBaseDQClient*> clients_;
118 
121 
128 
129 };
130 
131 #endif
std::vector< std::string > enabledClients_
void setup(void)
Setup.
void cleanup(void)
Cleanup.
EtaPhiHists * fC_WidthFromDBByDepth
EtaPhiHists * ADC_PedestalFromDBByDepth
void reset(void)
Reset.
void PlotPedestalValues(const HcalDbService &cond)
std::string databasedir_
void analyze(int LS=-1)
Analyze.
EtaPhiHists * fC_PedestalFromDBByDepth
void softReset(bool flag)
SoftReset.
void beginLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
BeginLumiBlock.
void beginJob(void)
BeginJob.
void endLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
EndLumiBlock.
EtaPhiHists * ADC_WidthFromDBByDepth
void endRun()
EndRun.
std::string baseHtmlDir_
HcalMonitorClient(const edm::ParameterSet &ps)
std::string inputFile_
void beginRun()
BeginRun.
HcalSummaryClient * summaryClient_
std::vector< HcalBaseDQClient * > clients_
HcalChannelQuality * chanquality_
EtaPhiHists * ChannelStatus
void endJob(void)
EndJob.
Definition: Run.h:41