CMS 3D CMS Logo

RPCDCSSummary.h
Go to the documentation of this file.
1 #ifndef RPCMonitorClient_RPCDCSSummary_H
2 #define RPCMonitorClient_RPCDCSSummary_H
3 
9 #include <map>
10 
11 class RPCDCSSummary : public DQMEDHarvester {
12 public:
14  ~RPCDCSSummary() override = default;
15 
16 protected:
17  void beginJob() override;
20  edm::LuminosityBlock const &,
21  edm::EventSetup const &) override; //performed in the endLumi
22  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override; //performed in the endJob
23 
24 private:
26  void checkDCSbit(edm::EventSetup const &);
27 
29 
30  bool init_;
31  double defaultValue_;
32 
34 
37  constexpr static int nWheels_ = 5;
39  constexpr static int nDisks_ = 10;
41  std::pair<int, int> FEDRange_;
44 };
45 
46 #endif
static constexpr int nDisks_
Definition: RPCDCSSummary.h:39
MonitorElement * DCSMap_
Definition: RPCDCSSummary.h:35
~RPCDCSSummary() override=default
void myBooker(DQMStore::IBooker &)
RPCDCSSummary(const edm::ParameterSet &)
double defaultValue_
Definition: RPCDCSSummary.h:31
void beginJob() override
MonitorElement * totalDCSFraction
Definition: RPCDCSSummary.h:36
MonitorElement * dcsDiskFractions[nDisks_]
Definition: RPCDCSSummary.h:40
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
MonitorElement * dcsWheelFractions[nWheels_]
Definition: RPCDCSSummary.h:38
void checkDCSbit(edm::EventSetup const &)
static constexpr int nWheels_
Definition: RPCDCSSummary.h:37
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Definition: RPCDCSSummary.h:28
std::pair< int, int > FEDRange_
Definition: RPCDCSSummary.h:41