]>
Commit | Line | Data |
---|---|---|
cf464691 | 1 | #ifndef ALIMUONRAWSTREAM_H |
f29ba3e1 | 2 | #define ALIMUONRAWSTREAM_H |
cf464691 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
692de412 | 6 | /*$Id$*/ |
7 | ||
8 | /// \ingroup rec | |
9 | /// \class AliMUONRawStream | |
10 | /// \brief Class for reading MUON raw digits | |
11 | /// | |
cf464691 | 12 | /////////////////////////////////////////////////////////////////////////////// |
13 | /// | |
692de412 | 14 | /// This class provides access to MUON digits in raw data. |
cf464691 | 15 | /// |
16 | /////////////////////////////////////////////////////////////////////////////// | |
17 | ||
18 | #include <TObject.h> | |
19 | ||
20 | class AliRawReader; | |
21 | ||
22 | ||
23 | class AliMUONRawStream: public TObject { | |
24 | public : | |
25 | AliMUONRawStream(AliRawReader* rawReader); | |
26 | AliMUONRawStream(const AliMUONRawStream& stream); | |
27 | AliMUONRawStream& operator = (const AliMUONRawStream& stream); | |
28 | virtual ~AliMUONRawStream(); | |
29 | ||
30 | virtual Bool_t Next(); | |
31 | ||
32 | ||
33 | protected : | |
34 | ||
35 | AliRawReader* fRawReader; // object for reading the raw data | |
36 | ||
37 | ||
38 | static const Int_t fgkDataMax = 10000000; // size of array for uncompressed raw data | |
39 | UShort_t* fData; // uncompressed raw data | |
40 | Int_t fDataSize; // actual size of the uncompressed raw data | |
41 | Int_t fPosition; // current position in fData | |
42 | Int_t fCount; // counter of words to be read for current trailer | |
43 | ||
44 | ||
45 | ClassDef(AliMUONRawStream, 0) // base class for reading MUON raw digits | |
46 | }; | |
47 | ||
48 | #endif |