Update responsibles for MCH, MTR, HMP
[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"
9dafb98e 13#include <TString.h>
6923e953 14
15class TChain;
16class TFileCollection;
3d456d99 17class TEntryList;
6923e953 18
19class AliRawReaderChain: public AliRawReaderRoot {
20 public :
21 AliRawReaderChain();
3d456d99 22 AliRawReaderChain(const char* fileName);
6923e953 23 AliRawReaderChain(TFileCollection *collection);
636c1780 24 AliRawReaderChain(TChain *chain);
3d456d99 25 AliRawReaderChain(TEntryList *elist);
bb0edcaf 26 AliRawReaderChain(Int_t runNumber);
6923e953 27 AliRawReaderChain(const AliRawReaderChain& rawReader);
28 AliRawReaderChain& operator = (const AliRawReaderChain& rawReader);
29 virtual ~AliRawReaderChain();
30
31 virtual Bool_t NextEvent();
32 virtual Bool_t RewindEvents();
636c1780 33 virtual Bool_t GotoEvent(Int_t event);
25e82ff5 34 virtual Int_t GetNumberOfEvents() const;
636c1780 35
36 virtual TChain* GetChain() const { return fChain; }
9dafb98e 37 //
38 static const char* GetSearchPath() {return fgSearchPath;}
39 static void SetSearchPath(const char* path="/alice/data");
6923e953 40 protected :
41 TChain* fChain; // root chain with raw events
9dafb98e 42 static TString fgSearchPath; // search path for "find"
6923e953 43 ClassDef(AliRawReaderChain, 0) // class for reading raw digits from a root file
44};
45
46#endif