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 <vector>
14 #include <string>
15 
16 namespace hcaldqm
17 {
18  class DQHarvester : public DQMEDHarvester, public DQModule
19  {
20  public:
22  ~DQHarvester() override {}
23 
24  void beginRun(edm::Run const&, edm::EventSetup const&) override;
27  edm::LuminosityBlock const&, edm::EventSetup const&) override;
29 
30  protected:
31  // empa
33 
34  // some counters
35  int _totalLS;
36 
37  // Crate and crate eid lists
38  std::vector<int> _vCrates;
39  std::vector<uint32_t> _vhashCrates;
40 
41  // all FEDs
42  std::vector<int> _vFEDs;
43  std::vector<uint32_t> _vhashFEDs;
44  // container of quality masks from conddb
46  // vector of Electronics raw Ids of HCAL FEDs
47  // that were registered at cDAQ for the Run
48  std::vector<uint32_t> _vcdaqEids;
49 
50  virtual void _dqmEndLuminosityBlock(
52  edm::LuminosityBlock const&, edm::EventSetup const&) = 0;
53  virtual void _dqmEndJob(DQMStore::IBooker&, DQMStore::IGetter&) = 0;
54  };
55 }
56 
57 #endif
58 
59 
60 
61 
62 
63 
64 
65 
66 
ContainerXXX< uint32_t > _xQuality
Definition: DQHarvester.h:45
std::vector< uint32_t > _vhashFEDs
Definition: DQHarvester.h:43
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:117
virtual void _dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)=0
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: DQHarvester.cc:126
HcalElectronicsMap const * _emap
Definition: DQHarvester.h:32
std::vector< uint32_t > _vhashCrates
Definition: DQHarvester.h:39
DQHarvester(edm::ParameterSet const &)
Definition: DQHarvester.cc:6
std::vector< int > _vCrates
Definition: DQHarvester.h:38
~DQHarvester() override
Definition: DQHarvester.h:22
std::vector< int > _vFEDs
Definition: DQHarvester.h:42
std::vector< uint32_t > _vcdaqEids
Definition: DQHarvester.h:48
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: DQHarvester.cc:10
Definition: Run.h:43