Check the event type also for pedestal runs and ore protection in the shuttle
[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;
16
17class AliRawReaderChain: public AliRawReaderRoot {
18 public :
19 AliRawReaderChain();
acce5036 20 AliRawReaderChain(const char* listFileName);
6923e953 21 AliRawReaderChain(TFileCollection *collection);
636c1780 22 AliRawReaderChain(TChain *chain);
6923e953 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();
636c1780 29 virtual Bool_t GotoEvent(Int_t event);
25e82ff5 30 virtual Int_t GetNumberOfEvents() const;
636c1780 31
32 virtual TChain* GetChain() const { return fChain; }
6923e953 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