1. Correct inheritance of GetEntryList in AliXMLCollection + bug fix. 2. Extension...
[u/mrichter/AliRoot.git] / RAW / AliRawReaderChain.h
CommitLineData
6923e953 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
6923e953 12#include "AliRawReaderRoot.h"
13
14class TChain;
15class TFileCollection;
3d456d99 16class TEntryList;
6923e953 17
18class AliRawReaderChain: public AliRawReaderRoot {
19 public :
20 AliRawReaderChain();
3d456d99 21 AliRawReaderChain(const char* fileName);
6923e953 22 AliRawReaderChain(TFileCollection *collection);
636c1780 23 AliRawReaderChain(TChain *chain);
3d456d99 24 AliRawReaderChain(TEntryList *elist);
6923e953 25 AliRawReaderChain(const AliRawReaderChain& rawReader);
26 AliRawReaderChain& operator = (const AliRawReaderChain& rawReader);
27 virtual ~AliRawReaderChain();
28
29 virtual Bool_t NextEvent();
30 virtual Bool_t RewindEvents();
636c1780 31 virtual Bool_t GotoEvent(Int_t event);
25e82ff5 32 virtual Int_t GetNumberOfEvents() const;
636c1780 33
34 virtual TChain* GetChain() const { return fChain; }
6923e953 35
36 protected :
37 TChain* fChain; // root chain with raw events
38
39 ClassDef(AliRawReaderChain, 0) // class for reading raw digits from a root file
40};
41
42#endif