CMS 3D CMS Logo

RPCDCSSummary.h
Go to the documentation of this file.
1 #ifndef RPCMonitorClient_RPCDCSSummary_H
2 #define RPCMonitorClient_RPCDCSSummary_H
3 
6 #include <map>
7 
8 class RPCDCSSummary : public DQMEDHarvester {
9 public:
12 
14  ~RPCDCSSummary() override;
15 
16  // Operations
17 
18 protected:
19  void beginJob() override;
22  edm::LuminosityBlock const &,
23  edm::EventSetup const &) override; //performed in the endLumi
24  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override; //performed in the endJob
25 
26 private:
28  void checkDCSbit(edm::EventSetup const &);
29 
30  bool init_;
31  double defaultValue_;
32 
34 
37  constexpr static int kNWheels = 5;
39  constexpr static int kNDisks = 10;
41  std::pair<int, int> FEDRange_;
44 };
45 
46 #endif
DQMEDHarvester.h
RPCDCSSummary::FEDRange_
std::pair< int, int > FEDRange_
Definition: RPCDCSSummary.h:41
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
RPCDCSSummary::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: RPCDCSSummary.cc:31
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
RPCDCSSummary::myBooker
void myBooker(DQMStore::IBooker &)
Definition: RPCDCSSummary.cc:73
RPCDCSSummary::dcsWheelFractions
MonitorElement * dcsWheelFractions[kNWheels]
Definition: RPCDCSSummary.h:38
RPCDCSSummary::init_
bool init_
Definition: RPCDCSSummary.h:30
RPCDCSSummary::~RPCDCSSummary
~RPCDCSSummary() override
Destructor.
Definition: RPCDCSSummary.cc:27
RPCDCSSummary
Definition: RPCDCSSummary.h:8
edm::ParameterSet
Definition: ParameterSet.h:47
RPCDCSSummary::numberOfDisks_
int numberOfDisks_
Definition: RPCDCSSummary.h:42
edm::EventSetup
Definition: EventSetup.h:58
DQMEDHarvester
Definition: DQMEDHarvester.py:1
dqm::implementation::IGetter
Definition: DQMStore.h:484
RPCDCSSummary::offlineDQM_
bool offlineDQM_
Definition: RPCDCSSummary.h:33
RPCDCSSummary::DCSMap_
MonitorElement * DCSMap_
Definition: RPCDCSSummary.h:35
RPCDCSSummary::NumberOfFeds_
int NumberOfFeds_
Definition: RPCDCSSummary.h:43
dqm::implementation::IBooker
Definition: DQMStore.h:43
RPCDCSSummary::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: RPCDCSSummary.cc:43
RPCDCSSummary::kNWheels
constexpr static int kNWheels
Definition: RPCDCSSummary.h:37
RPCDCSSummary::dcsDiskFractions
MonitorElement * dcsDiskFractions[kNDisks]
Definition: RPCDCSSummary.h:40
RPCDCSSummary::RPCDCSSummary
RPCDCSSummary(const edm::ParameterSet &)
Constructor.
Definition: RPCDCSSummary.cc:14
RPCDCSSummary::kNDisks
constexpr static int kNDisks
Definition: RPCDCSSummary.h:39
RPCDCSSummary::defaultValue_
double defaultValue_
Definition: RPCDCSSummary.h:31
RPCDCSSummary::checkDCSbit
void checkDCSbit(edm::EventSetup const &)
Definition: RPCDCSSummary.cc:49
RPCDCSSummary::beginJob
void beginJob() override
Definition: RPCDCSSummary.cc:29
RPCDCSSummary::totalDCSFraction
MonitorElement * totalDCSFraction
Definition: RPCDCSSummary.h:36