]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RAW/AliRawReaderChain.h
Typo corrected.
[u/mrichter/AliRoot.git] / RAW / AliRawReaderChain.h
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
14 class TChain;
15 class TFileCollection;
16
17 class AliRawReaderChain: public AliRawReaderRoot {
18   public :
19     AliRawReaderChain();
20     AliRawReaderChain(const char* listFileName);
21     AliRawReaderChain(TFileCollection *collection);
22     AliRawReaderChain(TChain *chain);
23     AliRawReaderChain(const AliRawReaderChain& rawReader);
24     AliRawReaderChain& operator = (const AliRawReaderChain& rawReader);
25     virtual ~AliRawReaderChain();
26
27     virtual Bool_t   NextEvent();
28     virtual Bool_t   RewindEvents();
29     virtual Bool_t   GotoEvent(Int_t event);
30     virtual Int_t    GetNumberOfEvents() const;
31
32     virtual TChain*  GetChain() const { return fChain; }
33
34   protected :
35     TChain*          fChain;        // root chain with raw events
36
37     ClassDef(AliRawReaderChain, 0) // class for reading raw digits from a root file
38 };
39
40 #endif