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
hcaldqm::DQClient::_vcdaqEids
std::vector< uint32_t > _vcdaqEids
Definition: DQClient.h:74
hcaldqm::DQClient::_xQuality
ContainerXXX< uint32_t > _xQuality
Definition: DQClient.h:71
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:68
Container1D.h
Flag.h
hcaldqm
Definition: Constants.h:8
DQModule.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
hcaldqm::DQClient::endLuminosityBlock
virtual void endLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: DQClient.cc:104
Utilities.h
hcaldqm::DQClient::LSSummary::_LS
int _LS
Definition: DQClient.h:46
hcaldqm::DQClient::_vFEDs
std::vector< int > _vFEDs
Definition: DQClient.h:67
hcaldqm::DQClient::hcalChannelQualityToken_
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > hcalChannelQualityToken_
Definition: DQClient.h:59
hcaldqm::DQClient::beginLuminosityBlock
virtual void beginLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &lb, edm::EventSetup const &)
Definition: DQClient.cc:83
Container2D.h
hcaldqm::DQClient::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: DQClient.h:25
dqm::legacy::DQMStore
Definition: DQMStore.h:728
hcaldqm::DQClient::_taskname
std::string _taskname
Definition: DQClient.h:50
hcaldqm::DQClient::_totalLS
int _totalLS
Definition: DQClient.h:53
hcaldqm::DQClient::beginRun
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: DQClient.cc:23
ContainerXXX.h
hcaldqm::DQClient::DQClient
DQClient(std::string const &, std::string const &, edm::ParameterSet const &, edm::ConsumesCollector &iC)
Definition: DQClient.cc:5
hcaldqm::DQClient::_maxProcessedLS
int _maxProcessedLS
Definition: DQClient.h:54
hcaldqm::DQClient::~DQClient
~DQClient() override
Definition: DQClient.h:29
ContainerSingle1D.h
edm::ParameterSet
Definition: ParameterSet.h:47
hcaldqm::DQClient::hcalDbServiceToken_
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
Definition: DQClient.h:57
hcaldqm::ContainerXXX< uint32_t >
ContainerProf1D.h
hcaldqm::DQClient::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: DQClient.h:26
edm::EventSetup
Definition: EventSetup.h:58
HashFilter.h
hcaldqm::DQClient::LSSummary
Definition: DQClient.h:43
edm::ESGetToken< HcalDbService, HcalDbRecord >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalElectronicsMap
Definition: HcalElectronicsMap.h:31
hcaldqm::DQClient::_vhashCrates
std::vector< uint32_t > _vhashCrates
Definition: DQClient.h:64
hcaldqm::DQClient::_emap
const HcalElectronicsMap * _emap
Definition: DQClient.h:60
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:114
ContainerSingle2D.h
hcaldqm::DQClient::LSSummary::_vflags
std::vector< std::vector< flag::Flag > > _vflags
Definition: DQClient.h:45
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
hcaldqm::DQClient::runInfoToken_
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Definition: DQClient.h:58
hcaldqm::DQClient::_vCrates
std::vector< int > _vCrates
Definition: DQClient.h:63