55f78c0d |
1 | // Author: 2010 Svein Lindal <slindal@fys.uio.no> * |
2 | // for The ALICE HLT Project. * |
3 | |
30e7579c |
4 | #ifndef ALIEVEHLTEVENTMANAGERHOMER_H |
5 | #define ALIEVEHLTEVENTMANAGERHOMER_H |
6 | |
7 | class AliESDEvent; |
8 | |
0e65057f |
9 | #include "AliEveHLTEventManager.h" |
30e7579c |
10 | #include "AliEveEventBufferHomer.h" |
11 | #include "AliEveEventBuffer.h" |
12 | class TList; |
55f78c0d |
13 | class TTimer; |
14 | class TGLOverlayButton; |
30e7579c |
15 | |
16 | class AliEveHLTEventManagerHomer : public AliEveHLTEventManager { |
17 | |
18 | public: |
19 | |
20 | ///Constructor |
21 | AliEveHLTEventManagerHomer(); |
22 | |
23 | virtual ~AliEveHLTEventManagerHomer(); |
24 | |
55f78c0d |
25 | //Get Next Event |
30e7579c |
26 | void NextEvent(); |
55f78c0d |
27 | //Try to get the next event |
28 | void TryNextEvent(); |
29 | //Get next event in buffer |
30e7579c |
30 | void NavigateFwd(); |
55f78c0d |
31 | //Get Previous event in buffer |
30e7579c |
32 | void NavigateBack(); |
33 | |
55f78c0d |
34 | //Process block list |
0ddb492b |
35 | void ProcessList(TList * blockList); |
36 | |
30e7579c |
37 | private: |
38 | |
39 | |
40 | /** copy constructor prohibited */ |
41 | AliEveHLTEventManagerHomer(const AliEveHLTEventManagerHomer&); |
42 | |
43 | /** assignment operator prohibited */ |
44 | AliEveHLTEventManagerHomer& operator=(const AliEveHLTEventManagerHomer&); |
45 | |
55f78c0d |
46 | AliEveEventBufferHomer * fEventBuffer; //Event buffer |
47 | ///Get event buffer |
30e7579c |
48 | AliEveEventBuffer * GetEventBuffer() { return dynamic_cast<AliEveEventBuffer*>(fEventBuffer); } |
49 | |
55f78c0d |
50 | |
51 | TTimer * fNextEventTimer; //Timer to fetch next event |
52 | TGLOverlayButton * fInfoButton; //Information button |
53 | |
54 | |
30e7579c |
55 | ClassDef(AliEveHLTEventManagerHomer, 0); |
56 | |
55f78c0d |
57 | |
58 | |
30e7579c |
59 | }; |
60 | |
61 | #endif |