CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  class DigiRunSummary : public DQClient {
10  public:
12  ~DigiRunSummary() override {}
13 
14  void beginRun(edm::Run const &, edm::EventSetup const &) override;
17  edm::LuminosityBlock const &,
18  edm::EventSetup const &) override;
19  std::vector<flag::Flag> endJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
20 
21  protected:
22  std::vector<LSSummary> _vflagsLS;
23 
24  double _thresh_unihf;
25 
27 
28  std::vector<uint32_t> _vhashVME, _vhashuTCA, _vhashFEDHF;
29  std::vector<int> _vFEDsVME, _vFEDsuTCA;
31 
33  bool _booked;
34  MonitorElement *_meNumEvents; // number of events vs LS
35 
37 
38  std::map<HcalSubdetector, uint32_t> _refDigiSize;
39 
40  // flag enum
41  enum DigiLSFlag {
42  fDigiSize = 0,
43  fNChsHF = 1,
45  fLED = 3,
46  nLSFlags = 4, // defines the boundary between lumi-based and run-based flags
47  fUniHF = 5,
48  fDead = 6,
50  };
51  };
52 } // namespace hcaldqm
53 
54 #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
ContainerXXX< uint32_t > _xNChs
electronicsmap::ElectronicsMap _ehashmap
filter::HashFilter _filter_VME
DigiRunSummary(std::string const &, std::string const &, edm::ParameterSet const &, edm::ConsumesCollector &iC)
ContainerXXX< uint32_t > _xUniHF
Definition: Run.h:45
ContainerXXX< uint32_t > _xDead