HitMaps.h
Go to the documentation of this file.
1 #ifndef OM_HITMAPS_H
2 #define OM_HITMAPS_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 fPixelsDCM[Diblock][DCM] instead
7 // of fPixelsDCM[Diblock - 1][DCM - 1].
8 static const unsigned int PixelsDCM_size = 16;
9 
10 class TH1F;
11 class TH2F;
12 namespace om { class RawEventSummary; }
13 namespace om { class DataBlockSummary; }
14 namespace om { class MicroSliceSummary; }
15 namespace om { class NanoSliceSummary; }
16 namespace daqchannelmap { class HardwareDisplay; }
17 
18 namespace om {
19  class HitMaps : public SummarySubscriber {
20  public:
21  HitMaps();
22  ~HitMaps();
23  virtual void GetNanoSliceSummary(const RawEventSummary& r,
24  const DataBlockSummary& dbs,
25  const MicroSliceSummary& mss,
26  const NanoSliceSummary& nss);
27  void EvalFEBShutOff();
28  void CopyHistContent(TH2F*& histFrom, TH2F*& histTo);
29 
30  private:
32 
40 
46 
47  TH2F* fPixelHitMap;
56 
57  TH2F* fDCMHitMap;
61  TH2F* fFEBHitMap;
75 
76  TH2F* fPixelsRateDCM[PixelsDCM_size][PixelsDCM_size];
77  TH2F* fLowADCPixelsRateDCM[PixelsDCM_size][PixelsDCM_size];
78  TH2F* fMipADCPixelsRateDCM[PixelsDCM_size][PixelsDCM_size];
79  TH2F* fHighADCPixelsRateDCM[PixelsDCM_size][PixelsDCM_size];
80 
81  TH2F* fPixelsDCM[PixelsDCM_size][PixelsDCM_size];
82  TH2F* fLowADCPixelsDCM[PixelsDCM_size][PixelsDCM_size];
83  TH2F* fMipADCPixelsDCM[PixelsDCM_size][PixelsDCM_size];
84  TH2F* fHighADCPixelsDCM[PixelsDCM_size][PixelsDCM_size];
85 
86  TH2F* fMinADCPixelsDCM[PixelsDCM_size][PixelsDCM_size];
87  TH2F* fMaxADCPixelsDCM[PixelsDCM_size][PixelsDCM_size];
88  TH2F* fTotADCPixelsDCM[PixelsDCM_size][PixelsDCM_size];
90 
91  TH2F* fFEBShutOff;
94  };
95 }
96 
97 #endif
98 ////////////////////////////////////////////////////////////////////////
TH2F * fPixelHitRateMapLowADC
Definition: HitMaps.h:52
TH2F * fPlaneCellHitMapXviewAllHits
Definition: HitMaps.h:65
TH2F * fPlaneCellHitMapYviewBNB
Definition: HitMaps.h:74
TH2F * fDCMHitRateMap
Definition: HitMaps.h:35
TH2F * fFEBHitRateMapMipADC
Definition: HitMaps.h:44
TH2F * fPixelHitMapMipADC
Definition: HitMaps.h:49
TH2F * fPixelHitMapLowADC
Definition: HitMaps.h:48
Interface for classes that plot data from the event summaries.
TH2F * fDCMHitRateMapLowADC
Definition: HitMaps.h:37
TH2F * fPixelHitRateMapHighADC
Definition: HitMaps.h:54
TH2F * fFEBShutOffBookKeeping2
Definition: HitMaps.h:93
TH2F * fFEBShutOffBookKeeping1
Definition: HitMaps.h:92
TH2F * fDCMHitRateMapHighADC
Definition: HitMaps.h:39
TH2F * fPlaneCellHitMapXviewBNB
Definition: HitMaps.h:73
TH1F * fHitMapEvtCount
Definition: HitMaps.h:33
TH2F * fDCMHitMap
Definition: HitMaps.h:57
static const unsigned int PixelsDCM_size
Definition: HitMaps.h:8
TH2F * fFEBHitMapMipADC
Definition: HitMaps.h:63
TH2F * fDCMHitMapLowADC
Definition: HitMaps.h:58
TH2F * fPixelHitMap
Definition: HitMaps.h:47
TH2F * fTotADCFEBHitMap
Definition: HitMaps.h:89
TH2F * fFEBHitMapLowADC
Definition: HitMaps.h:62
TH2F * fDCMHitMapMipADC
Definition: HitMaps.h:59
TH2F * fDCMHitMapHighADC
Definition: HitMaps.h:60
TH2F * fFEBShutOff
Definition: HitMaps.h:91
TH2F * fPixelHitRateMapMipADC
Definition: HitMaps.h:53
TH2F * fPlaneCellHitMapXviewCalib
Definition: HitMaps.h:69
TH2F * fFEBHitMapHighADC
Definition: HitMaps.h:64
TH2F * fPlaneCellHitMapYviewAllHits
Definition: HitMaps.h:66
daqchannelmap::HardwareDisplay * fHwMap
Definition: HitMaps.h:31
TH1F * fFEBHitRateSpectrum
Definition: HitMaps.h:42
TH2F * fFEBHitMap
Definition: HitMaps.h:61
TH2F * fPlaneCellHitMapYviewCalib
Definition: HitMaps.h:70
TH2F * fPixelHitRateMap
Definition: HitMaps.h:51
TH2F * fPlaneCellHitRateMapYviewAllHits
Definition: HitMaps.h:68
TH1F * fPixelHitRateSpectrum
Definition: HitMaps.h:55
TH2F * fFEBHitRateMap
Definition: HitMaps.h:41
TH2F * fPlaneCellHitMapYviewNuMI
Definition: HitMaps.h:72
TH1F * fDCMHitRateSpectrum
Definition: HitMaps.h:36
TH2F * fPlaneCellHitMapXviewNuMI
Definition: HitMaps.h:71
TH2F * fPixelHitMapHighADC
Definition: HitMaps.h:50
TRandom3 r(0)
TH2F * fFEBHitRateMapLowADC
Definition: HitMaps.h:43
TH2F * fPlaneCellHitRateMapXviewAllHits
Definition: HitMaps.h:67
TH1F * fRecordedTime
Definition: HitMaps.h:34
Online Monitoring package header.
TH2F * fFEBHitRateMapHighADC
Definition: HitMaps.h:45
TH2F * fDCMHitRateMapMipADC
Definition: HitMaps.h:38