1 #ifndef ALIMUONRAWSTREAM_H
2 #define ALITMUONAWSTREAM_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ///////////////////////////////////////////////////////////////////////////////
8 /// This class provides access to TPC digits in raw data.
10 ///////////////////////////////////////////////////////////////////////////////
17 class AliMUONRawStream: public TObject {
19 AliMUONRawStream(AliRawReader* rawReader);
20 AliMUONRawStream(const AliMUONRawStream& stream);
21 AliMUONRawStream& operator = (const AliMUONRawStream& stream);
22 virtual ~AliMUONRawStream();
24 virtual Bool_t Next();
29 AliRawReader* fRawReader; // object for reading the raw data
32 static const Int_t fgkDataMax = 10000000; // size of array for uncompressed raw data
33 UShort_t* fData; // uncompressed raw data
34 Int_t fDataSize; // actual size of the uncompressed raw data
35 Int_t fPosition; // current position in fData
36 Int_t fCount; // counter of words to be read for current trailer
39 ClassDef(AliMUONRawStream, 0) // base class for reading MUON raw digits