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