CMS 3D CMS Logo

RPCDaqInfo.h
Go to the documentation of this file.
1 #ifndef DQM_RPCMonitorClient_DQMDaqInfo_H
2 #define DQM_RPCMonitorClient_DQMDaqInfo_H
3 
8 
9 #include <utility>
10 
11 class RPCDaqInfo : public DQMEDHarvester {
12 public:
13  explicit RPCDaqInfo(const edm::ParameterSet &);
14  ~RPCDaqInfo() 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 
28 
29  bool init_;
30 
33  constexpr static int nWheels_ = 5;
35  constexpr static int nDisks_ = 10;
37 
38  std::pair<int, int> FEDRange_;
39 
41 };
42 
43 #endif
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: RPCDaqInfo.cc:59
bool init_
Definition: RPCDaqInfo.h:29
MonitorElement * daqWheelFractions[nWheels_]
Definition: RPCDaqInfo.h:34
MonitorElement * DaqFraction_
Definition: RPCDaqInfo.h:31
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Definition: RPCDaqInfo.h:27
static constexpr int nDisks_
Definition: RPCDaqInfo.h:35
void beginJob() override
Definition: RPCDaqInfo.cc:24
MonitorElement * daqDiskFractions[nDisks_]
Definition: RPCDaqInfo.h:36
RPCDaqInfo(const edm::ParameterSet &)
Definition: RPCDaqInfo.cc:11
std::pair< int, int > FEDRange_
Definition: RPCDaqInfo.h:38
void myBooker(DQMStore::IBooker &)
Definition: RPCDaqInfo.cc:61
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: RPCDaqInfo.cc:25
static constexpr int nWheels_
Definition: RPCDaqInfo.h:33
MonitorElement * DaqMap_
Definition: RPCDaqInfo.h:32
~RPCDaqInfo() override=default
int numberOfDisks_
Definition: RPCDaqInfo.h:40
int NumberOfFeds_
Definition: RPCDaqInfo.h:40