CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TowerStatusTask.h
Go to the documentation of this file.
1 #ifndef TowerStatusTask_H
2 #define TowerStatusTask_H
3 
5 
6 namespace ecaldqm {
7 
8  class TowerStatusTask : public DQWorkerTask {
9  public:
12 
13  void bookMEs() override;
14 
15  void beginRun(const edm::Run &, const edm::EventSetup &) override;
16  void endRun(const edm::Run &, const edm::EventSetup &) override;
17  void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override;
18  void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override;
19 
20  void runOnTowerStatus(const std::map<uint32_t, bool>&, int);
21 
22  enum MESets {
30  };
31 
32  static void setMEData(std::vector<MEData>&);
33 
34  private:
35  std::map<uint32_t, bool> daqLumiStatus_, daqRunStatus_;
36  std::map<uint32_t, bool> dcsLumiStatus_, dcsRunStatus_;
38  };
39 
40 }
41 
42 #endif
43 
static void setMEData(std::vector< MEData > &)
TowerStatusTask(const edm::ParameterSet &, const edm::ParameterSet &)
void endRun(const edm::Run &, const edm::EventSetup &) override
std::map< uint32_t, bool > daqLumiStatus_
std::map< uint32_t, bool > dcsRunStatus_
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
std::map< uint32_t, bool > daqRunStatus_
void beginRun(const edm::Run &, const edm::EventSetup &) override
void runOnTowerStatus(const std::map< uint32_t, bool > &, int)
std::map< uint32_t, bool > dcsLumiStatus_
Definition: Run.h:41
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override