CMS 3D CMS Logo

DQHarvester.h
Go to the documentation of this file.
1 #ifndef DQHarvester_h
2 #define DQHarvester_h
3 
4 /*
5  * file: DQHarvester.h
6  * Author: VK
7  */
8 
12 
13 #include <string>
14 #include <vector>
15 
16 namespace hcaldqm {
17  class DQHarvester : public DQMEDHarvester, public DQModule {
18  public:
20  ~DQHarvester() override {}
21 
22  void beginRun(edm::Run const &, edm::EventSetup const &) override;
25  edm::LuminosityBlock const &lb,
26  edm::EventSetup const &es);
29  edm::LuminosityBlock const &,
30  edm::EventSetup const &) override;
31  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
32 
33  protected:
34  // empa
36 
37  // some counters
38  int _totalLS;
39 
40  // Crate and crate eid lists
41  std::vector<int> _vCrates;
42  std::vector<uint32_t> _vhashCrates;
43 
44  // all FEDs
45  std::vector<int> _vFEDs;
46  std::vector<uint32_t> _vhashFEDs;
47  // container of quality masks from conddb
49  // vector of Electronics raw Ids of HCAL FEDs
50  // that were registered at cDAQ for the Run
51  std::vector<uint32_t> _vcdaqEids;
52 
55  edm::LuminosityBlock const &,
56  edm::EventSetup const &) = 0;
57  virtual void _dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) = 0;
58  };
59 } // namespace hcaldqm
60 
61 #endif
ContainerXXX< uint32_t > _xQuality
Definition: DQHarvester.h:48
std::vector< uint32_t > _vhashFEDs
Definition: DQHarvester.h:46
virtual void _dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)=0
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: DQHarvester.cc:99
virtual void _dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)=0
void dqmBeginLuminosityBlock(DQMStore::IBooker &ib, DQMStore::IGetter &ig, edm::LuminosityBlock const &lb, edm::EventSetup const &es)
Definition: DQHarvester.cc:77
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: DQHarvester.cc:108
HcalElectronicsMap const * _emap
Definition: DQHarvester.h:35
std::vector< uint32_t > _vhashCrates
Definition: DQHarvester.h:42
DQHarvester(edm::ParameterSet const &)
Definition: DQHarvester.cc:7
std::vector< int > _vCrates
Definition: DQHarvester.h:41
~DQHarvester() override
Definition: DQHarvester.h:20
std::vector< int > _vFEDs
Definition: DQHarvester.h:45
std::vector< uint32_t > _vcdaqEids
Definition: DQHarvester.h:51
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: DQHarvester.cc:9
Definition: Run.h:45
ib
Definition: cuy.py:662