]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveHLT/AliEveEventBufferHomer.h
Merge branch 'multipleThreads'
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveEventBufferHomer.h
1 //-*- Mode: C++ -*-
2
3 // $Id$
4
5
6 /* This file is property of and copyright by the ALICE HLT Project        * 
7  * ALICE Experiment at CERN, All rights reserved.                         *
8  * See cxx source for full Copyright notice     
9  */
10
11 /** @file   AliEveEventBufferHomer.h
12     @author Svein Lindal
13     @date
14     @brief  Manager for HOMER in aliroot
15 */
16
17 #define BUFFERSIZE 15
18
19
20 #ifndef ALIEVEEVENTBUFFERHOMER_H
21 #define ALIEVEEVENTBUFFERHOMER_H
22
23 class AliEveHOMERManager;
24 #include "Rtypes.h"
25 #include "AliEveEventBuffer.h"
26
27 class TFile;
28 class TTree;
29 class AliESDEvent;
30 class TString;
31
32 class AliEveEventBufferHomer : public AliEveEventBuffer {
33
34 public:
35   
36   /** default constructor */
37   AliEveEventBufferHomer();
38   /** destructor */
39   virtual ~AliEveEventBufferHomer();
40
41   void ConnectToSource();
42   
43   void Initialize();
44
45   AliEveHOMERManager * GetHomerManager() const { return fHomer;}
46
47
48   void WriteToFile();
49
50
51 private:
52
53
54   /** copy constructor prohibited */
55   AliEveEventBufferHomer(const AliEveEventBufferHomer&);
56
57   /** assignment operator prohibited */
58   AliEveEventBufferHomer& operator=(const AliEveEventBufferHomer&);
59
60   ///Inherited from AliEveEventBuffer
61   TObject * GetEventFromSource();
62
63   ///Inherited form AliEveEventBuffer
64   void AddToBuffer(TObject * event);
65
66   AliEveHOMERManager * fHomer;
67   Int_t fEventNo;
68   TList * fAsyncList;
69
70
71
72   ClassDef(AliEveEventBufferHomer, 0); 
73 };
74
75 #endif