]>
Commit | Line | Data |
---|---|---|
dd1b1dd1 | 1 | #ifndef ALIITSRAWSTREAMSDDV2_H |
2 | #define ALIITSRAWSTREAMSDDV2_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | #include "AliITSRawStream.h" | |
7 | ||
8 | class AliRawReader; | |
9 | ||
10 | ||
11 | class AliITSRawStreamSDDv2: public AliITSRawStream { | |
12 | public : | |
13 | AliITSRawStreamSDDv2(AliRawReader* rawReader); | |
14 | virtual ~AliITSRawStreamSDDv2() {}; | |
15 | ||
16 | virtual Bool_t Next(); | |
17 | ||
18 | Int_t GetAnode() const {return fCoord1;}; | |
19 | Int_t GetTimeBin() const {return fCoord2;}; | |
20 | ||
21 | private : | |
22 | UInt_t ReadBits(); | |
23 | Int_t DecompAmbra(Int_t value) const; | |
24 | ||
25 | UInt_t fData; // data read for file | |
26 | ||
27 | static const UInt_t fgkCodeLength[8]; // length of coded data word | |
28 | Int_t fSkip; // number of skipped words | |
29 | Int_t fEventId; // event ID from the header | |
30 | Int_t fCarlosId; // carlos ID from the header | |
31 | Int_t fChannel; // current channel | |
32 | ULong64_t fChannelData[2]; // packed data for the 2 channels | |
33 | UInt_t fLastBit[2]; // last filled bit in fChannelData | |
34 | UInt_t fChannelCode[2]; // current channel code | |
35 | Bool_t fReadCode[2]; // next bits are code or data | |
36 | UInt_t fReadBits[2]; // number of bits to read | |
37 | Int_t fTimeBin[2]; // current time bin | |
38 | Int_t fAnode[2]; // current anode number | |
39 | Int_t fLowThreshold[2]; // low Carlos threshold | |
40 | ||
41 | ClassDef(AliITSRawStreamSDDv2, 0) // class for reading ITS SDD raw digits | |
42 | }; | |
43 | ||
44 | #endif |