NanoErrors.h
Go to the documentation of this file.
1 #ifndef OM_NANOERRORS_H
2 #define OM_NANOERRORS_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_nano = 16;
9 
10 class TH2F;
11 namespace om { class RawEventSummary; }
12 namespace om { class DataBlockSummary; }
13 namespace om { class MicroSliceSummary; }
14 namespace om { class NanoSliceSummary; }
15 namespace daqchannelmap { class HardwareDisplay; }
16 
17 namespace om {
18  class NanoErrors : public SummarySubscriber {
19  public:
20  NanoErrors();
21  ~NanoErrors();
22  virtual void GetNanoSliceSummary(const RawEventSummary& r,
23  const DataBlockSummary& dbs,
24  const MicroSliceSummary& mss,
25  const NanoSliceSummary& nss);
26  private:
28 
29  // Key for histogram abbreviations:
30  //
31  // DPE = "Data Present Error"
32  // LSE = "Link Status Error"
33  // DbM = "DebugMode"
34  // FIFO = "FIFO Full" (Previously FEBF = "FEB Full")
35  // TECCEnbl = "TECC Enable" (Previously FEBE = "FEB Empty")
36  // EDAQ = "Enable DAQ"
37  // DDE = "Data Drop Error" (Previously ADCE = "ADC Error")
38  // TECCErr = "TECC Error" (Previously OFE = "Overflow Error")
39  // ADCE = "ADC Error" (Previously PE = "Packet Error")
40  // CE = "Communications Error"
41  // MC = "Monte Carlo flag"
42  // AE = "All Errors"
43  // AA = "All Alerts"
44 
45  // histos displaying the entire detector
46 
57 
58  // histos displaying specific DCMs
59  TH2F* fDPEperDCM[DCM_size_nano][DCM_size_nano];
60  TH2F* fLSEperDCM[DCM_size_nano][DCM_size_nano];
61  TH2F* fDbMperDCM[DCM_size_nano][DCM_size_nano];
62  TH2F* fFIFOperDCM[DCM_size_nano][DCM_size_nano];
63  TH2F* fTECCEnblperDCM[DCM_size_nano][DCM_size_nano];
64  TH2F* fEDAQperDCM[DCM_size_nano][DCM_size_nano];
65  TH2F* fDDEperDCM[DCM_size_nano][DCM_size_nano];
66  TH2F* fTECCErrperDCM[DCM_size_nano][DCM_size_nano];
67  TH2F* fADCEperDCM[DCM_size_nano][DCM_size_nano];
68  TH2F* fCEperDCM[DCM_size_nano][DCM_size_nano];
69 
70  TH2F* fAEVsHour;
71  TH2F* fAAVsHour;
72 
73  };
74 }
75 
76 #endif
77 ////////////////////////////////////////////////////////////////////////
TH2F * fDDEbyPixelDCM
Definition: NanoErrors.h:53
TH2F * fEDAQbyPixelDCM
Definition: NanoErrors.h:52
TH2F * fDbMbyPixelDCM
Definition: NanoErrors.h:49
Interface for classes that plot data from the event summaries.
TH2F * fAAVsHour
Definition: NanoErrors.h:71
TH2F * fLSEbyPixelDCM
Definition: NanoErrors.h:48
TH2F * fADCEbyPixelDCM
Definition: NanoErrors.h:55
TH2F * fFIFObyPixelDCM
Definition: NanoErrors.h:50
TH2F * fTECCErrbyPixelDCM
Definition: NanoErrors.h:54
TH2F * fDPEbyPixelDCM
Definition: NanoErrors.h:47
daqchannelmap::HardwareDisplay * fHwMap
Definition: NanoErrors.h:27
TH2F * fCEbyPixelDCM
Definition: NanoErrors.h:56
TRandom3 r(0)
static const unsigned int DCM_size_nano
Definition: NanoErrors.h:8
TH2F * fAEVsHour
Definition: NanoErrors.h:70
Online Monitoring package header.
TH2F * fTECCEnblbyPixelDCM
Definition: NanoErrors.h:51