]>
Commit | Line | Data |
---|---|---|
1b41ab20 | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
36f19b25 | 4 | /************************************************************************** |
5 | * Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. * | |
6 | * * | |
7 | * Authors: Per Thomas Hille for the ALICE * | |
8 | * offline/HLT Project. Contributors are mentioned in the code where * | |
9 | * appropriate. * | |
10 | * * | |
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 | **************************************************************************/ | |
19 | ||
20 | ||
59b4cd9a | 21 | #ifndef ALIHLTPHOSONLINEDISPLAYCALIBTAB_H |
22 | #define ALIHLTPHOSONLINEDISPLAYCALIBTAB_H | |
23 | ||
59b4cd9a | 24 | #include "AliHLTPHOSCommonDefs.h" |
59b4cd9a | 25 | #include <TCanvas.h> |
26 | #include "AliHLTDataTypes.h" | |
36f19b25 | 27 | #include "AliHLTPHOSOnlineDisplayTab.h" |
55ad82a3 | 28 | #include "AliHLTPHOSConstants.h" |
36f19b25 | 29 | |
55ad82a3 | 30 | using namespace PhosHLTConst; |
31 | ||
36f19b25 | 32 | class TGTab; |
55ad82a3 | 33 | |
36f19b25 | 34 | class TRootEmbeddedCanvas; |
35 | class TH2D; | |
36 | class TH2I; | |
37 | class TCanvas; | |
59b4cd9a | 38 | class AliHLTPHOSGetEventButton; |
36f19b25 | 39 | |
59b4cd9a | 40 | class AliHLTPHOSOnlineDisplayCalibTab : public AliHLTPHOSOnlineDisplayTab |
41 | { | |
42 | public: | |
36f19b25 | 43 | AliHLTPHOSOnlineDisplayCalibTab(); // Default Constructor |
44 | AliHLTPHOSOnlineDisplayCalibTab(TGTab *tabPtr, HOMERReader *homerSyncPtr, HOMERReader *homerPtrs[MAXHOSTS], int nHosts); // Constructor | |
45 | virtual ~AliHLTPHOSOnlineDisplayCalibTab(); // Destructor | |
46 | ||
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 | |
52 | ||
53 | TH2D *fgCalibHistPtr[NGAINS]; // fgCalibHistPtr | |
54 | TH2I *fgHitsHistPtr[NGAINS]; // fgHitsHistPtr | |
55 | TH2D *fgAveragePtr[NGAINS]; // fgAveragePtr | |
56 | TH2D *fgDCSViewPtr[NGAINS]; // fgDCSViewPtr | |
b3abda11 | 57 | |
36f19b25 | 58 | TH2D *fDeadCannelMapPtr[NGAINS]; // fDeadCannelMapPtr |
59 | TGTab *fTab; // fTab | |
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 | |
68 | ||
69 | private: | |
70 | ||
71 | AliHLTPHOSOnlineDisplayCalibTab(const AliHLTPHOSOnlineDisplayCalibTab&); //copy constructor | |
72 | AliHLTPHOSOnlineDisplayCalibTab & operator=(const AliHLTPHOSOnlineDisplayCalibTab); //assignement operator | |
73 | ||
59b4cd9a | 74 | }; |
75 | ||
76 | ||
77 | #endif |