]>
Commit | Line | Data |
---|---|---|
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 AliEveEventBufferOffline.h | |
12 | @author Svein Lindal | |
13 | @date | |
14 | @brief Manager for HOMER in aliroot | |
15 | */ | |
16 | ||
17 | #define BUFFERSIZE 15 | |
18 | ||
19 | ||
20 | #ifndef ALIEVEEVENTBUFFEROFFLINE_H | |
21 | #define ALIEVEEVENTBUFFEROFFLINE_H | |
22 | ||
23 | #include "Rtypes.h" | |
24 | #include "AliEveEventBuffer.h" | |
25 | ||
26 | class TFile; | |
27 | class TTree; | |
28 | class AliESDEvent; | |
29 | class TString; | |
30 | ||
31 | class AliEveEventBufferOffline : public AliEveEventBuffer { | |
32 | ||
33 | ||
34 | public: | |
35 | ||
36 | /** default constructor */ | |
37 | AliEveEventBufferOffline(TString file); | |
38 | /** destructor */ | |
39 | virtual ~AliEveEventBufferOffline(); | |
40 | ||
41 | void ConnectToSource(); | |
cc87822c | 42 | void WriteToFile(Int_t runnumber); |
30e7579c | 43 | |
44 | private: | |
45 | ||
46 | //not allowed | |
47 | AliEveEventBufferOffline(); | |
48 | ||
49 | /** copy constructor prohibited */ | |
50 | AliEveEventBufferOffline(const AliEveEventBufferOffline&); | |
51 | ||
52 | /** assignment operator prohibited */ | |
53 | AliEveEventBufferOffline& operator=(const AliEveEventBufferOffline&); | |
54 | ||
55 | ///Inherited from AliEveEventBuffer | |
56 | TObject * GetEventFromSource(); | |
57 | ||
58 | TFile * fFile; | |
59 | Int_t fNEntries; | |
60 | Int_t fEventNo; | |
61 | AliESDEvent * fEvent; | |
62 | TTree * fTree; | |
63 | ||
64 | ClassDef(AliEveEventBufferOffline, 0); | |
65 | }; | |
66 | ||
67 | #endif |