MicroErrors.h
Go to the documentation of this file.
1 #ifndef OM_MICROERRORS_H
2 #define OM_MICROERRORS_H
4 
5 // This must be one larger than the number of Diblocks/DCMs for the FD
6 // so that it can be easily accessed as fDCM[Diblock][DCM] instead
7 // of fDCM[Diblock - 1][DCM - 1].
8 static const unsigned int DCM_size_micro = 16;
9 
10 class TH2F;
11 class TH1F;
12 namespace om { class RawEventSummary; }
13 namespace om { class DataBlockSummary; }
14 namespace om { class MicroSliceSummary; }
15 namespace daqchannelmap { class HardwareDisplay; }
16 
17 namespace om {
18  class MicroErrors : public SummarySubscriber {
19  public:
20  MicroErrors();
21  ~MicroErrors();
22  virtual void GetMicroSliceSummary(const RawEventSummary& r,
23  const DataBlockSummary& dbs,
24  const MicroSliceSummary& mss);
25  private:
27 
28  // Key for histogram abbreviations:
29  //
30  // DPE = "Data Present Error"
31  // MC = "Monte Carlo flag"
32  // BC = "Byte Count"
33  // AE = "All Errors"
34  // AA = "All Alerts"
35 
36  // histos displaying the entire detector
37 
38  TH2F* fDPEbyDCM;
39  TH2F* fMCbyDCM;
40  TH2F* fBCbyDCM;
41 
42  // histos for specific DCMs
43  TH1F* fBCperDCM[DCM_size_micro][DCM_size_micro];
44 
45  TH2F* fAEVsHour;
46  TH2F* fAAVsHour;
47 
48  };
49 }
50 
51 #endif
52 ////////////////////////////////////////////////////////////////////////
Interface for classes that plot data from the event summaries.
TH2F * fAEVsHour
Definition: MicroErrors.h:45
TH2F * fDPEbyDCM
Definition: MicroErrors.h:38
static const unsigned int DCM_size_micro
Definition: MicroErrors.h:8
TH2F * fAAVsHour
Definition: MicroErrors.h:46
daqchannelmap::HardwareDisplay * fHwMap
Definition: MicroErrors.h:26
TRandom3 r(0)
Online Monitoring package header.