Merge branch 'multipleThreads' into newdevel
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveEventBufferHomer.h
CommitLineData
30e7579c 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
23class AliEveHOMERManager;
24#include "Rtypes.h"
25#include "AliEveEventBuffer.h"
26
27class TFile;
28class TTree;
29class AliESDEvent;
30class TString;
31
32class AliEveEventBufferHomer : public AliEveEventBuffer {
33
34public:
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
b088c0a1 47 TList * GetAList() { return fAsyncList;}
30e7579c 48
49 void WriteToFile();
50
51
52private:
53
54
55 /** copy constructor prohibited */
56 AliEveEventBufferHomer(const AliEveEventBufferHomer&);
57
58 /** assignment operator prohibited */
59 AliEveEventBufferHomer& operator=(const AliEveEventBufferHomer&);
60
61 ///Inherited from AliEveEventBuffer
62 TObject * GetEventFromSource();
63
64 ///Inherited form AliEveEventBuffer
65 void AddToBuffer(TObject * event);
66
67 AliEveHOMERManager * fHomer;
68 Int_t fEventNo;
69 TList * fAsyncList;
70
71
72
73 ClassDef(AliEveEventBufferHomer, 0);
74};
75
76#endif