CMS 3D CMS Logo

DTDAQInfo.h
Go to the documentation of this file.
1 #ifndef DTMonitorClient_DTDAQInfo_H
2 #define DTMonitorClient_DTDAQInfo_H
3 
16 
18 
21 
22 #include <map>
23 
24 class DTReadOutMapping;
25 class RunInfo;
26 
27 class DTDAQInfo : public DQMEDHarvester {
28 public:
31 
33  ~DTDAQInfo() override;
34 
35  // Operations
36 
37 protected:
40  edm::LuminosityBlock const &,
41  edm::EventSetup const &) override;
42  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
43 
44 private:
46 
47  // Check FEDs from uROS, otherwise standard ROS
48  bool checkUros;
49 
52  std::map<int, MonitorElement *> daqFractions;
55 
57  const RunInfo *sumFED;
58 };
59 
60 #endif
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: DTDAQInfo.cc:38
bool checkUros
Definition: DTDAQInfo.h:48
edm::ESGetToken< DTReadOutMapping, DTReadOutMappingRcd > mappingToken_
Definition: DTDAQInfo.h:53
const RunInfo * sumFED
Definition: DTDAQInfo.h:57
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Definition: DTDAQInfo.h:56
MonitorElement * daqMap
Definition: DTDAQInfo.h:51
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: DTDAQInfo.cc:125
~DTDAQInfo() override
Destructor.
Definition: DTDAQInfo.cc:36
MonitorElement * totalDAQFraction
Definition: DTDAQInfo.h:50
bool bookingdone
Definition: DTDAQInfo.h:45
std::map< int, MonitorElement * > daqFractions
Definition: DTDAQInfo.h:52
DTDAQInfo(const edm::ParameterSet &pset)
Constructor.
Definition: DTDAQInfo.cc:29
const DTReadOutMapping * mapping
Definition: DTDAQInfo.h:54