4 /**************************************************************************
5 * Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. *
7 * Authors: Per Thomas Hille for the ALICE *
8 * offline/HLT Project. Contributors are mentioned in the code where *
11 * Permission to use, copy, modify and distribute this software and its *
12 * documentation strictly for non-commercial purposes is hereby granted *
13 * without fee, provided that the above copyright notice appears in all *
14 * copies and that both the copyright notice and this permission notice *
15 * appear in the supporting documentation. The authors make no claims *
16 * about the suitability of this software for any purpose. It is *
17 * provided "as is" without express or implied warranty. *
18 **************************************************************************/
21 #ifndef ALIHLTPHOSONLINEDISPLAYCALIBTAB_H
22 #define ALIHLTPHOSONLINEDISPLAYCALIBTAB_H
24 #include "AliHLTPHOSCommonDefs.h"
26 #include "AliHLTDataTypes.h"
27 #include "AliHLTPHOSOnlineDisplayTab.h"
28 #include "AliHLTPHOSConstants.h"
30 using namespace PhosHLTConst;
34 class TRootEmbeddedCanvas;
38 class AliHLTPHOSGetEventButton;
40 class AliHLTPHOSOnlineDisplayCalibTab : public AliHLTPHOSOnlineDisplayTab
43 AliHLTPHOSOnlineDisplayCalibTab(); // Default Constructor
44 AliHLTPHOSOnlineDisplayCalibTab(TGTab *tabPtr, HOMERReader *homerSyncPtr, HOMERReader *homerPtrs[MAXHOSTS], int nHosts); // Constructor
45 virtual ~AliHLTPHOSOnlineDisplayCalibTab(); // Destructor
47 void InitDisplay(TGTab *tabPtr); // InitDisplay
48 void UpdateDisplay(); // UpdateDisplay
49 int GetNextEvent(); // GetNextEvent
50 virtual void ReadBlockData(HOMERReader *homeReaderPtr); // ReadBlockData
51 void ResetDisplay() const; // ResetDisplay
53 TH2D *fgCalibHistPtr[NGAINS]; // fgCalibHistPtr
54 TH2I *fgHitsHistPtr[NGAINS]; // fgHitsHistPtr
55 TH2D *fgAveragePtr[NGAINS]; // fgAveragePtr
56 TH2D *fgDCSViewPtr[NGAINS]; // fgDCSViewPtr
58 TH2D *fDeadCannelMapPtr[NGAINS]; // fDeadCannelMapPtr
60 TRootEmbeddedCanvas *fEc7, *fEc8, *fEc9, *fEc10, *fEc11, *fEc12, *fEc13, *fEc14, *fEc15, *fEc16, *fEc17, *fEc18; // Canvases
61 TGTab *fSubTab2; // fSubTab2
62 TGCompositeFrame *fSubF4, *fSubF5, *fSubF6, *fSubF7,*fSubF8, *fSubF9; // Composite frames
63 TCanvas *fgCanvasHGPtr; // fgCanvasHGPtr
64 TCanvas *fgCanvasLGPtr; // fgCanvasLGPtr
65 TH2D *fgLegoPlotLGPtr; // fgLegoPlotLGPtr
66 TH2D *fgLegoPlotHGPtr; // fgLegoPlotHGPtr
67 AliHLTPHOSGetEventButton* fgEventButtPtr; // fgEventButtPtr
71 AliHLTPHOSOnlineDisplayCalibTab(const AliHLTPHOSOnlineDisplayCalibTab&); //copy constructor
72 AliHLTPHOSOnlineDisplayCalibTab & operator=(const AliHLTPHOSOnlineDisplayCalibTab); //assignement operator