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  * $Date: 2010/03/25 11:17:14 $
8  * $Revision: 1.47 $
9  * \author J. Temple
10  *
11  */
12 
18 
21 
22 class DQMStore;
23 class HcalChannelQuality;
24 class HcalSummaryClient;
25 
27 {
28 
29 public:
30 
31  // Constructor
33 
34  // Destructor
35  virtual ~HcalMonitorClient();
36 
38  void analyze(int LS=-1);
39  void analyze(const edm::Event & e, const edm::EventSetup & c);
40 
42  void beginJob(void);
43 
45  void endJob(void);
46 
48  void beginRun();
49  void beginRun(const edm::Run & r, const edm::EventSetup & c);
50 
52  void endRun();
53  void endRun(const edm::Run & r, const edm::EventSetup & c);
54 
57 
59  void endLuminosityBlock(const edm::LuminosityBlock & l, const edm::EventSetup & c);
60 
62  void reset(void);
63 
65  void setup(void);
66 
68  void cleanup(void);
69 
71  void softReset(bool flag);
72 
73  // Write channelStatus info
74  void writeChannelStatus();
75 
76  // Write html output
77  void writeHtml();
78 
79  void PlotPedestalValues(const HcalDbService& cond);
80 
81 private:
82  // Event counters
83  int ievt_; // all events
84  int jevt_; // events in current run
85  int run_;
86  int evt_;
87  bool begin_run_;
88  bool end_run_;
89 
90  // parameter set inputs
91  int debug_;
92  std::string inputFile_;
93  bool mergeRuns_;
94  bool cloneME_;
96  std::string prefixME_;
98  std::vector<std::string > enabledClients_;
99 
100  int updateTime_; // update time for updating histograms
101  std::string baseHtmlDir_;
102  int htmlUpdateTime_; //update time for updating histograms
103  std::string databasedir_;
104  int databaseUpdateTime_; //update time for dumping db info (offset by 10 minutes, so that always dump after 10 minutes)
105  int databaseFirstUpdate_; // first update time (in minutes)
106  int htmlFirstUpdate_; // first update for html
107 
109 
110  bool saveByLumiSection_; //produces separate LS certification values when enabled
111 
112  // time parameters
117 
118  std::vector<HcalBaseDQClient*> clients_;
119 
122 
129 
130 };
131 
132 #endif
std::vector< std::string > enabledClients_
void setup(void)
Setup.
long int flag
Definition: mlp_lapack.h:47
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:31