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  class DigiRunSummary : public DQClient {
10  public:
11  DigiRunSummary(std::string const &, std::string const &, edm::ParameterSet const &);
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
hcaldqm::DigiRunSummary::fNChsHF
Definition: DigiRunSummary.h:43
hcaldqm::DigiRunSummary::_thresh_unihf
double _thresh_unihf
Definition: DigiRunSummary.h:24
hcaldqm::DigiRunSummary::fLED
Definition: DigiRunSummary.h:45
hcaldqm::DigiRunSummary::fDead
Definition: DigiRunSummary.h:48
hcaldqm::DigiRunSummary::nDigiFlag
Definition: DigiRunSummary.h:49
hcaldqm::DQClient
Definition: DQClient.h:23
hcaldqm::DigiRunSummary::_filter_FEDHF
filter::HashFilter _filter_FEDHF
Definition: DigiRunSummary.h:30
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
hcaldqm::DigiRunSummary::endJob
std::vector< flag::Flag > endJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: DigiRunSummary.cc:215
hcaldqm::DigiRunSummary::DigiLSFlag
DigiLSFlag
Definition: DigiRunSummary.h:41
hcaldqm
Definition: Constants.h:8
hcaldqm::DigiRunSummary::endLuminosityBlock
void endLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: DigiRunSummary.cc:77
hcaldqm::DigiRunSummary::_xDead
ContainerXXX< uint32_t > _xDead
Definition: DigiRunSummary.h:36
hcaldqm::DigiRunSummary::fDigiSize
Definition: DigiRunSummary.h:42
hcaldqm::DigiRunSummary::_filter_uTCA
filter::HashFilter _filter_uTCA
Definition: DigiRunSummary.h:30
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
hcaldqm::DigiRunSummary::_xUni
ContainerXXX< uint32_t > _xUni
Definition: DigiRunSummary.h:36
ElectronicsMap.h
hcaldqm::DigiRunSummary::_xNChs
ContainerXXX< uint32_t > _xNChs
Definition: DigiRunSummary.h:36
hcaldqm::DigiRunSummary::fUnknownIds
Definition: DigiRunSummary.h:44
hcaldqm::DigiRunSummary::nLSFlags
Definition: DigiRunSummary.h:46
DQClient.h
hcaldqm::DigiRunSummary::_vhashuTCA
std::vector< uint32_t > _vhashuTCA
Definition: DigiRunSummary.h:28
hcaldqm::DigiRunSummary::_cOccupancy_depth
Container2D _cOccupancy_depth
Definition: DigiRunSummary.h:32
hcaldqm::DigiRunSummary
Definition: DigiRunSummary.h:9
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
hcaldqm::filter::HashFilter
Definition: HashFilter.h:21
edm::ParameterSet
Definition: ParameterSet.h:47
hcaldqm::DigiRunSummary::_xUniHF
ContainerXXX< uint32_t > _xUniHF
Definition: DigiRunSummary.h:36
hcaldqm::DigiRunSummary::~DigiRunSummary
~DigiRunSummary() override
Definition: DigiRunSummary.h:12
hcaldqm::ContainerXXX< uint32_t >
hcaldqm::DigiRunSummary::_vFEDsuTCA
std::vector< int > _vFEDsuTCA
Definition: DigiRunSummary.h:29
edm::EventSetup
Definition: EventSetup.h:58
HcalSubdetector.h
hcaldqm::DigiRunSummary::_vhashVME
std::vector< uint32_t > _vhashVME
Definition: DigiRunSummary.h:28
hcaldqm::DigiRunSummary::DigiRunSummary
DigiRunSummary(std::string const &, std::string const &, edm::ParameterSet const &)
Definition: DigiRunSummary.cc:6
hcaldqm::DigiRunSummary::_booked
bool _booked
Definition: DigiRunSummary.h:33
hcaldqm::electronicsmap::ElectronicsMap
Definition: ElectronicsMap.h:32
hcaldqm::DigiRunSummary::_ehashmap
electronicsmap::ElectronicsMap _ehashmap
Definition: DigiRunSummary.h:26
dqm::implementation::IGetter
Definition: DQMStore.h:484
hcaldqm::DigiRunSummary::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: DigiRunSummary.cc:17
hcaldqm::DigiRunSummary::_xDigiSize
ContainerXXX< uint32_t > _xDigiSize
Definition: DigiRunSummary.h:36
hcaldqm::DigiRunSummary::fUniHF
Definition: DigiRunSummary.h:47
hcaldqm::DigiRunSummary::_meNumEvents
MonitorElement * _meNumEvents
Definition: DigiRunSummary.h:34
dqm::implementation::IBooker
Definition: DQMStore.h:43
hcaldqm::DigiRunSummary::_refDigiSize
std::map< HcalSubdetector, uint32_t > _refDigiSize
Definition: DigiRunSummary.h:38
hcaldqm::DigiRunSummary::_vFEDsVME
std::vector< int > _vFEDsVME
Definition: DigiRunSummary.h:29
hcaldqm::DigiRunSummary::_vflagsLS
std::vector< LSSummary > _vflagsLS
Definition: DigiRunSummary.h:22
hcaldqm::DigiRunSummary::_filter_VME
filter::HashFilter _filter_VME
Definition: DigiRunSummary.h:30
hcaldqm::DigiRunSummary::_xNChsNominal
ContainerXXX< uint32_t > _xNChsNominal
Definition: DigiRunSummary.h:36
hcaldqm::Container2D
Definition: Container2D.h:19
hcaldqm::DigiRunSummary::_vhashFEDHF
std::vector< uint32_t > _vhashFEDHF
Definition: DigiRunSummary.h:28