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