CMS 3D CMS Logo

DQClient.h
Go to the documentation of this file.
1 #ifndef DQM_HcalCommon_DQClient_h
2 #define DQM_HcalCommon_DQClient_h
3 
21 
22 namespace hcaldqm {
23  class DQClient : public DQModule {
24  public:
25  DQClient(std::string const &, std::string const &, edm::ParameterSet const &);
26  ~DQClient() override {}
27 
28  virtual void beginRun(edm::Run const &, edm::EventSetup const &);
31  edm::LuminosityBlock const &lb,
32  edm::EventSetup const &);
35  edm::LuminosityBlock const &,
36  edm::EventSetup const &);
37  virtual std::vector<flag::Flag> endJob(DQMStore::IBooker &, DQMStore::IGetter &);
38 
39  protected:
40  struct LSSummary {
41  // vector of flags per each FED
42  std::vector<std::vector<flag::Flag>> _vflags;
43  int _LS;
44  };
45  // task name
47 
48  // counters
49  int _totalLS;
51 
52  // emap
54 
55  // Crate and crate eid lists
56  std::vector<int> _vCrates;
57  std::vector<uint32_t> _vhashCrates;
58 
59  // FED and FED Eids lists
60  std::vector<int> _vFEDs;
61  std::vector<uint32_t> _vhashFEDs;
62 
63  // Container of Quality masks
65 
66  // vector of FEDs registered at cDAQ
67  std::vector<uint32_t> _vcdaqEids;
68  };
69 } // namespace hcaldqm
70 
71 #endif
std::vector< uint32_t > _vcdaqEids
Definition: DQClient.h:67
std::vector< uint32_t > _vhashFEDs
Definition: DQClient.h:61
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: DQClient.cc:13
std::string _taskname
Definition: DQClient.h:46
HcalElectronicsMap const * _emap
Definition: DQClient.h:53
ContainerXXX< uint32_t > _xQuality
Definition: DQClient.h:64
std::vector< uint32_t > _vhashCrates
Definition: DQClient.h:57
~DQClient() override
Definition: DQClient.h:26
std::vector< int > _vCrates
Definition: DQClient.h:56
virtual void beginLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &lb, edm::EventSetup const &)
Definition: DQClient.cc:75
virtual void endLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: DQClient.cc:98
std::vector< std::vector< flag::Flag > > _vflags
Definition: DQClient.h:42
std::vector< int > _vFEDs
Definition: DQClient.h:60
DQClient(std::string const &, std::string const &, edm::ParameterSet const &)
Definition: DQClient.cc:5
virtual std::vector< flag::Flag > endJob(DQMStore::IBooker &, DQMStore::IGetter &)
Definition: DQClient.cc:108
Definition: Run.h:45