CMS 3D CMS Logo

DigiRunSummary.h
Go to the documentation of this file.
1 #ifndef DQM_HcalTasks_DigiRunSummary_h
2 #define DQM_HcalTasks_DigiRunSummary_h
3 
7 
8 namespace hcaldqm
9 {
10  class DigiRunSummary : public DQClient
11  {
12  public:
13  DigiRunSummary(std::string const&, std::string const&,
14  edm::ParameterSet const&);
15  ~DigiRunSummary() override {}
16 
17  void beginRun(edm::Run const&, edm::EventSetup const&) override;
20  edm::EventSetup const&) override;
21  std::vector<flag::Flag> endJob(
23 
24  protected:
25  std::vector<LSSummary> _vflagsLS;
26 
27  double _thresh_unihf;
28 
30 
31  std::vector<uint32_t> _vhashVME, _vhashuTCA, _vhashFEDHF;
32  std::vector<int> _vFEDsVME, _vFEDsuTCA;
34 
36  bool _booked;
37  MonitorElement *_meNumEvents; // number of events vs LS
38 
41 
42  std::map<HcalSubdetector, uint32_t> _refDigiSize;
43 
44  // flag enum
46  {
47  fDigiSize = 0,
50  nLSFlags=3, // defines the boundary between lumi-based and run-based flags
51  fUniHF=4,
52  fDead=5,
54  };
55  };
56 }
57 
58 #endif
std::vector< LSSummary > _vflagsLS
MonitorElement * _meNumEvents
ContainerXXX< uint32_t > _xDigiSize
ContainerXXX< uint32_t > _xUni
std::vector< int > _vFEDsuTCA
filter::HashFilter _filter_FEDHF
std::vector< flag::Flag > endJob(DQMStore::IBooker &, DQMStore::IGetter &) override
std::vector< uint32_t > _vhashuTCA
filter::HashFilter _filter_uTCA
Container2D _cOccupancy_depth
ContainerXXX< uint32_t > _xNChsNominal
void beginRun(edm::Run const &, edm::EventSetup const &) override
void endLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
std::vector< uint32_t > _vhashFEDHF
std::map< HcalSubdetector, uint32_t > _refDigiSize
std::vector< uint32_t > _vhashVME
std::vector< int > _vFEDsVME
DigiRunSummary(std::string const &, std::string const &, edm::ParameterSet const &)
ContainerXXX< uint32_t > _xNChs
electronicsmap::ElectronicsMap _ehashmap
filter::HashFilter _filter_VME
ContainerXXX< uint32_t > _xUniHF
Definition: Run.h:43
ContainerXXX< uint32_t > _xDead