]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIRAWREADERCHAIN_H | |
2 | #define ALIRAWREADERCHAIN_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /////////////////////////////////////////////////////////////////////////////// | |
7 | /// | |
8 | /// This is a class for reading raw data from a root chain. | |
9 | /// | |
10 | /////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #include "AliRawReaderRoot.h" | |
13 | #include <TString.h> | |
14 | ||
15 | class TChain; | |
16 | class TFileCollection; | |
17 | class TEntryList; | |
18 | ||
19 | class AliRawReaderChain: public AliRawReaderRoot { | |
20 | public : | |
21 | AliRawReaderChain(); | |
22 | AliRawReaderChain(const char* fileName); | |
23 | AliRawReaderChain(TFileCollection *collection); | |
24 | AliRawReaderChain(TChain *chain); | |
25 | AliRawReaderChain(TEntryList *elist); | |
26 | AliRawReaderChain(Int_t runNumber); | |
27 | AliRawReaderChain(const AliRawReaderChain& rawReader); | |
28 | AliRawReaderChain& operator = (const AliRawReaderChain& rawReader); | |
29 | virtual ~AliRawReaderChain(); | |
30 | ||
31 | virtual Bool_t NextEvent(); | |
32 | virtual Bool_t RewindEvents(); | |
33 | virtual Bool_t GotoEvent(Int_t event); | |
34 | virtual Int_t GetNumberOfEvents() const; | |
35 | ||
36 | virtual TChain* GetChain() const { return fChain; } | |
37 | // | |
38 | static const char* GetSearchPath() {return fgSearchPath;} | |
39 | static void SetSearchPath(const char* path="/alice/data"); | |
40 | protected : | |
41 | TChain* fChain; // root chain with raw events | |
42 | static TString fgSearchPath; // search path for "find" | |
43 | ClassDef(AliRawReaderChain, 0) // class for reading raw digits from a root file | |
44 | }; | |
45 | ||
46 | #endif |