Fix for #88606 Request to commit/port mods. for AliRawReaderDateOnline
[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);
bb0edcaf 25 AliRawReaderChain(Int_t runNumber);
6923e953 26 AliRawReaderChain(const AliRawReaderChain& rawReader);
27 AliRawReaderChain& operator = (const AliRawReaderChain& rawReader);
28 virtual ~AliRawReaderChain();
29
30 virtual Bool_t NextEvent();
31 virtual Bool_t RewindEvents();
636c1780 32 virtual Bool_t GotoEvent(Int_t event);
25e82ff5 33 virtual Int_t GetNumberOfEvents() const;
636c1780 34
35 virtual TChain* GetChain() const { return fChain; }
6923e953 36
37 protected :
38 TChain* fChain; // root chain with raw events
39
40 ClassDef(AliRawReaderChain, 0) // class for reading raw digits from a root file
41};
42
43#endif