]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/OnlineDisplay/AliHLTPHOSOnlineDisplayCalibTab.h
b76b98e05380fe84de57a4ce67724b9a5d4fbe93
[u/mrichter/AliRoot.git] / HLT / PHOS / OnlineDisplay / AliHLTPHOSOnlineDisplayCalibTab.h
1 #ifndef ALIHLTPHOSONLINEDISPLAYCALIBTAB_H
2 #define ALIHLTPHOSONLINEDISPLAYCALIBTAB_H
3
4 #include "TGTab.h"
5 #include "AliHLTPHOSOnlineDisplayTab.h"
6 #include "TH2.h"
7 #include "AliHLTPHOSCommonDefs.h"
8 #include <TRootEmbeddedCanvas.h>
9 #include <TCanvas.h>
10 #include "AliHLTDataTypes.h"
11
12 #include "AliHLTPHOSConstants.h"
13 using namespace PhosHLTConst;
14
15
16 class AliHLTPHOSGetEventButton;
17 class AliHLTPHOSOnlineDisplayCalibTab : public AliHLTPHOSOnlineDisplayTab
18 {
19  public:
20   AliHLTPHOSOnlineDisplayCalibTab();
21   AliHLTPHOSOnlineDisplayCalibTab(TGTab  *tabPtr, HOMERReader *homerSyncPtr, HOMERReader *homerPtrs[MAX_HOSTS], int nHosts);
22   virtual ~AliHLTPHOSOnlineDisplayCalibTab();
23
24   void InitDisplay(TGTab *tabPtr);
25   void UpdateDisplay();
26   int GetNextEvent();
27   virtual void ReadBlockData(HOMERReader *homeReaderPtr);
28   void ResetDisplay();
29
30   TH2D *fgCalibHistPtr[N_GAINS];
31   TH2I *fgHitsHistPtr[N_GAINS]; 
32   TH2D *fgAveragePtr[N_GAINS];
33   TH2D *fgDCSViewPtr[N_GAINS];
34        
35   TH2D *fDeadCannelMapPtr[N_GAINS];
36   TGTab               *fTab;
37   TRootEmbeddedCanvas *fEc7, *fEc8, *fEc9, *fEc10, *fEc11, *fEc12, *fEc13, *fEc14, *fEc15, *fEc16, *fEc17, *fEc18;
38   TGTab               *fSubTab2;
39   TGCompositeFrame    *fSubF4, *fSubF5, *fSubF6, *fSubF7,*fSubF8, *fSubF9;
40   TCanvas *fgCanvasHGPtr;
41   TCanvas *fgCanvasLGPtr;
42   TH2D *fgLegoPlotLGPtr;
43   TH2D *fgLegoPlotHGPtr;
44   AliHLTPHOSGetEventButton* fgEventButtPtr; 
45 };
46
47
48 #endif