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:
27 
28  DQClient(std::string const &, std::string const &, edm::ParameterSet const &);
29  ~DQClient() override {}
30 
31  virtual void beginRun(edm::Run const &, edm::EventSetup const &);
34  edm::LuminosityBlock const &lb,
35  edm::EventSetup const &);
38  edm::LuminosityBlock const &,
39  edm::EventSetup const &);
40  virtual std::vector<flag::Flag> endJob(DQMStore::IBooker &, DQMStore::IGetter &);
41 
42  protected:
43  struct LSSummary {
44  // vector of flags per each FED
45  std::vector<std::vector<flag::Flag>> _vflags;
46  int _LS;
47  };
48  // task name
50 
51  // counters
52  int _totalLS;
54 
55  // emap
57 
58  // Crate and crate eid lists
59  std::vector<int> _vCrates;
60  std::vector<uint32_t> _vhashCrates;
61 
62  // FED and FED Eids lists
63  std::vector<int> _vFEDs;
64  std::vector<uint32_t> _vhashFEDs;
65 
66  // Container of Quality masks
68 
69  // vector of FEDs registered at cDAQ
70  std::vector<uint32_t> _vcdaqEids;
71  };
72 } // namespace hcaldqm
73 
74 #endif
std::vector< uint32_t > _vcdaqEids
Definition: DQClient.h:70
std::vector< uint32_t > _vhashFEDs
Definition: DQClient.h:64
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: DQClient.cc:13
std::string _taskname
Definition: DQClient.h:49
HcalElectronicsMap const * _emap
Definition: DQClient.h:56
ContainerXXX< uint32_t > _xQuality
Definition: DQClient.h:67
std::vector< uint32_t > _vhashCrates
Definition: DQClient.h:60
~DQClient() override
Definition: DQClient.h:29
std::vector< int > _vCrates
Definition: DQClient.h:59
virtual void beginLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &lb, edm::EventSetup const &)
Definition: DQClient.cc:75
dqm::legacy::DQMStore DQMStore
Definition: DQClient.h:26
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:45
std::vector< int > _vFEDs
Definition: DQClient.h:63
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
dqm::legacy::MonitorElement MonitorElement
Definition: DQClient.h:25
Definition: Run.h:45