test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~DQHarvester() {}
23 
24  virtual void beginRun(edm::Run const&, edm::EventSetup const&);
25  virtual void dqmEndLuminosityBlock(
27  edm::LuminosityBlock const&, edm::EventSetup const&);
29 
30  protected:
31  // empa
33 
34  // some counters
35  int _totalLS;
36 
37  // all FEDs
38  std::vector<int> _vFEDs;
39  std::vector<uint32_t> _vhashFEDs;
40  // container of quality masks from conddb
42  // vector of Electronics raw Ids of HCAL FEDs
43  // that were registered at cDAQ for the Run
44  std::vector<uint32_t> _vcdaqEids;
45 
46  virtual void _dqmEndLuminosityBlock(
48  edm::LuminosityBlock const&, edm::EventSetup const&) = 0;
49  virtual void _dqmEndJob(DQMStore::IBooker&, DQMStore::IGetter&) = 0;
50  };
51 }
52 
53 #endif
54 
55 
56 
57 
58 
59 
60 
61 
62 
ContainerXXX< uint32_t > _xQuality
Definition: DQHarvester.h:41
std::vector< uint32_t > _vhashFEDs
Definition: DQHarvester.h:39
virtual ~DQHarvester()
Definition: DQHarvester.h:22
virtual void _dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)=0
virtual void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)
Definition: DQHarvester.cc:114
virtual void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: DQHarvester.cc:105
virtual void _dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)=0
HcalElectronicsMap const * _emap
Definition: DQHarvester.h:32
DQHarvester(edm::ParameterSet const &)
Definition: DQHarvester.cc:5
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: DQHarvester.cc:9
std::vector< int > _vFEDs
Definition: DQHarvester.h:38
std::vector< uint32_t > _vcdaqEids
Definition: DQHarvester.h:44
Definition: Run.h:43