]>
Commit | Line | Data |
---|---|---|
cf464691 | 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 */ | |
5 | ||
6 | /////////////////////////////////////////////////////////////////////////////// | |
7 | /// | |
8 | /// This class provides access to TPC digits in raw data. | |
9 | /// | |
10 | /////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #include <TObject.h> | |
13 | ||
14 | class AliRawReader; | |
15 | ||
16 | ||
17 | class AliMUONRawStream: public TObject { | |
18 | public : | |
19 | AliMUONRawStream(AliRawReader* rawReader); | |
20 | AliMUONRawStream(const AliMUONRawStream& stream); | |
21 | AliMUONRawStream& operator = (const AliMUONRawStream& stream); | |
22 | virtual ~AliMUONRawStream(); | |
23 | ||
24 | virtual Bool_t Next(); | |
25 | ||
26 | ||
27 | protected : | |
28 | ||
29 | AliRawReader* fRawReader; // object for reading the raw data | |
30 | ||
31 | ||
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 | |
37 | ||
38 | ||
39 | ClassDef(AliMUONRawStream, 0) // base class for reading MUON raw digits | |
40 | }; | |
41 | ||
42 | #endif |