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
hcaldqm::DQClient::_vcdaqEids
std::vector< uint32_t > _vcdaqEids
Definition: DQClient.h:70
hcaldqm::DQClient::_xQuality
ContainerXXX< uint32_t > _xQuality
Definition: DQClient.h:67
hcaldqm::DQModule
Definition: DQModule.h:30
hcaldqm::DQClient
Definition: DQClient.h:23
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
hcaldqm::DQClient::_vhashFEDs
std::vector< uint32_t > _vhashFEDs
Definition: DQClient.h:64
Container1D.h
Flag.h
hcaldqm
Definition: Constants.h:8
DQModule.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
hcaldqm::DQClient::endLuminosityBlock
virtual void endLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: DQClient.cc:98
Utilities.h
hcaldqm::DQClient::LSSummary::_LS
int _LS
Definition: DQClient.h:46
hcaldqm::DQClient::_vFEDs
std::vector< int > _vFEDs
Definition: DQClient.h:63
hcaldqm::DQClient::beginLuminosityBlock
virtual void beginLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &lb, edm::EventSetup const &)
Definition: DQClient.cc:75
Container2D.h
hcaldqm::DQClient::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: DQClient.h:25
dqm::legacy::DQMStore
Definition: DQMStore.h:727
hcaldqm::DQClient::_taskname
std::string _taskname
Definition: DQClient.h:49
hcaldqm::DQClient::_totalLS
int _totalLS
Definition: DQClient.h:52
hcaldqm::DQClient::beginRun
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: DQClient.cc:13
ContainerXXX.h
hcaldqm::DQClient::_maxProcessedLS
int _maxProcessedLS
Definition: DQClient.h:53
hcaldqm::DQClient::~DQClient
~DQClient() override
Definition: DQClient.h:29
hcaldqm::DQClient::DQClient
DQClient(std::string const &, std::string const &, edm::ParameterSet const &)
Definition: DQClient.cc:5
ContainerSingle1D.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
hcaldqm::ContainerXXX< uint32_t >
ContainerProf1D.h
hcaldqm::DQClient::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: DQClient.h:26
edm::EventSetup
Definition: EventSetup.h:57
HashFilter.h
hcaldqm::DQClient::LSSummary
Definition: DQClient.h:43
HcalElectronicsMap
Definition: HcalElectronicsMap.h:31
hcaldqm::DQClient::_vhashCrates
std::vector< uint32_t > _vhashCrates
Definition: DQClient.h:60
hcaldqm::DQClient::_emap
const HcalElectronicsMap * _emap
Definition: DQClient.h:56
dqm::implementation::IGetter
Definition: DQMStore.h:484
dqm::implementation::IBooker
Definition: DQMStore.h:43
ContainerProf2D.h
hcaldqm::DQClient::endJob
virtual std::vector< flag::Flag > endJob(DQMStore::IBooker &, DQMStore::IGetter &)
Definition: DQClient.cc:108
ContainerSingle2D.h
hcaldqm::DQClient::LSSummary::_vflags
std::vector< std::vector< flag::Flag > > _vflags
Definition: DQClient.h:45
hcaldqm::DQClient::_vCrates
std::vector< int > _vCrates
Definition: DQClient.h:59