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 
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 
49  // task name
51 
52  // counters
53  int _totalLS;
55 
56  // emap
61 
62  // Crate and crate eid lists
63  std::vector<int> _vCrates;
64  std::vector<uint32_t> _vhashCrates;
65 
66  // FED and FED Eids lists
67  std::vector<int> _vFEDs;
68  std::vector<uint32_t> _vhashFEDs;
69 
70  // Container of Quality masks
72 
73  // vector of FEDs registered at cDAQ
74  std::vector<uint32_t> _vcdaqEids;
75  };
76 } // namespace hcaldqm
77 
78 #endif
std::vector< uint32_t > _vcdaqEids
Definition: DQClient.h:74
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > hcalChannelQualityToken_
Definition: DQClient.h:59
std::vector< uint32_t > _vhashFEDs
Definition: DQClient.h:68
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Definition: DQClient.h:58
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: DQClient.cc:24
std::string _taskname
Definition: DQClient.h:50
DQClient(std::string const &, std::string const &, edm::ParameterSet const &, edm::ConsumesCollector &iC)
Definition: DQClient.cc:5
HcalElectronicsMap const * _emap
Definition: DQClient.h:60
ContainerXXX< uint32_t > _xQuality
Definition: DQClient.h:71
std::vector< uint32_t > _vhashCrates
Definition: DQClient.h:64
~DQClient() override
Definition: DQClient.h:29
std::vector< int > _vCrates
Definition: DQClient.h:63
virtual void beginLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &lb, edm::EventSetup const &)
Definition: DQClient.cc:84
dqm::legacy::DQMStore DQMStore
Definition: DQClient.h:26
virtual void endLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: DQClient.cc:105
std::vector< std::vector< flag::Flag > > _vflags
Definition: DQClient.h:45
std::vector< int > _vFEDs
Definition: DQClient.h:67
virtual std::vector< flag::Flag > endJob(DQMStore::IBooker &, DQMStore::IGetter &)
Definition: DQClient.cc:115
dqm::legacy::MonitorElement MonitorElement
Definition: DQClient.h:25
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: DQClient.h:57
Definition: Run.h:45