]>
Commit | Line | Data |
---|---|---|
ad4d700a | 1 | #ifndef ALIHLTPHOSONLINEDISPLAY |
2 | #define ALIHLTPHOSONLINEDISPLAY | |
3 | ||
4 | /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | #include "HOMERData.h" | |
8 | #include "HOMERReader.h" | |
9 | #include "HOMERWriter.h" | |
10 | #include "Rtypes.h" | |
11 | #include <TGFrame.h> | |
12 | #include "TH2.h" | |
13 | #include "AliHLTPHOSGetEventButton.h" | |
297d5075 | 14 | #include "TGTab.h" |
15 | #include <TRootEmbeddedCanvas.h> | |
03a2fb59 | 16 | #include <TCanvas.h> |
297d5075 | 17 | #include "TGFrame.h" |
16249353 | 18 | #include "AliHLTPHOSCommonDefs.h" |
03a2fb59 | 19 | #include "AliHLTPHOSRcuChannelDataStruct.h" |
59b4cd9a | 20 | #include "AliHLTPHOSOnlineDisplayEventTab.h" |
21 | #include "AliHLTPHOSOnlineDisplayCalibTab.h" | |
22 | #include "AliHLTPHOSOnlineDisplayRawTab.h" | |
23 | ||
24 | #include "AliHLTPHOSCommonDefs.h" | |
ad4d700a | 25 | |
134dc672 | 26 | |
ad4d700a | 27 | class TCanvas; |
080ec6a9 | 28 | class AliHLTPHOSRcuCellEnergyDataStruct; |
29 | ||
ad4d700a | 30 | class AliHLTPHOSOnlineDisplay : public TGMainFrame |
31 | { | |
32 | public: | |
ad4d700a | 33 | ~AliHLTPHOSOnlineDisplay(); |
297d5075 | 34 | int GetNextEvent(); |
03a2fb59 | 35 | int GetNextEventRaw(); |
16249353 | 36 | int GetHistogram(); |
297d5075 | 37 | void InitDisplay(); |
e4f19d3c | 38 | void EvaluateAverage(); |
59b4cd9a | 39 | int ScanArguments(int argc, char** argv); |
40 | static AliHLTPHOSOnlineDisplay* Instance(int argc, char** argv); | |
ad4d700a | 41 | private: |
1c28f393 | 42 | AliHLTPHOSOnlineDisplay(); |
59b4cd9a | 43 | AliHLTPHOSOnlineDisplay(int argc, char** argv); |
44 | static AliHLTPHOSOnlineDisplayEventTab *fgEventTabPtr; | |
45 | static AliHLTPHOSOnlineDisplayCalibTab *fgCalibTabPtr; | |
46 | static AliHLTPHOSOnlineDisplayRawTab *fgRawTabPtr; | |
297d5075 | 47 | static TGTab *fTab; |
ad4d700a | 48 | static AliHLTPHOSOnlineDisplay* fgInstancePtr; |
134dc672 | 49 | static unsigned int fgNHosts; |
50 | static unsigned int fgNPorts; | |
1c28f393 | 51 | static HOMERReader* fgHomerReaderPtr; |
134dc672 | 52 | static HOMERReader* fgHomerReadersPtr[MAX_HOSTS]; |
134dc672 | 53 | static char *fgHosts[MAX_HOSTS]; |
134dc672 | 54 | static short unsigned *fgPorts; |
080ec6a9 | 55 | static Bool_t fgAccumulate; |
1c28f393 | 56 | static Bool_t fgSyncronize; |
ad4d700a | 57 | }; |
58 | ||
59 | ||
60 | #endif |