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