FEBRatesByDiblock.h
Go to the documentation of this file.
1 #ifndef OM_FEBRATESBYDIBLOCK_H
2 #define OM_FEBRATESBYDIBLOCK_H
3 #include <ctime>
4 #include <vector>
6 
7 // This must be one larger than the number of Diblocks/DCMs for the FD
8 // so that it can be easily accessed as fPixelsDCM[Diblock][DCM] instead
9 // of fPixelsDCM[Diblock - 1][DCM - 1].
10 static const unsigned int numDB = 16;
11 
12 class TH1F;
13 class TH2F;
14 namespace om { class RawEventSummary; }
15 namespace om { class DataBlockSummary; }
16 namespace om { class MicroSliceSummary;}
17 namespace om { class NanoSliceSummary; }
18 namespace daqchannelmap { class HardwareDisplay; }
19 
20 namespace om {
22  public:
25  virtual void GetNanoSliceSummary(const RawEventSummary& r,
26  const DataBlockSummary& dbs,
27  const MicroSliceSummary& mss,
28  const NanoSliceSummary& nss);
29  private:
30  void UpdateRatePlots();
31 
33 
34  TH2F* fFEBRatesDB[numDB];
35  TH2F* fFEBHitsDB[numDB];
36  TH2F* fDCMRates;
37  TH2F* fDCMHits;
38  TH2F* fEmptyDCMs;
39  TH1F* fLiveTime;
42 
43  std::vector<unsigned int> fDCMs;
44 
45  time_t fLastTime;
46  unsigned int fDCMpDB;
47 
48  };
49 }
50 
51 #endif
52 ////////////////////////////////////////////////////////////////////////
Interface for classes that plot data from the event summaries.
static const unsigned int numDB
std::vector< unsigned int > fDCMs
daqchannelmap::HardwareDisplay * fHwMap
TRandom3 r(0)
Online Monitoring package header.