]>
Commit | Line | Data |
---|---|---|
c391f9d9 | 1 | #ifndef ALIITSRAWSTREAM_H |
2 | #define ALIITSRAWSTREAM_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | #include <TObject.h> | |
42d20574 | 7 | |
8 | class AliRawReader; | |
c391f9d9 | 9 | |
10 | ||
11 | class AliITSRawStream: public TObject { | |
12 | public : | |
7941072e | 13 | AliITSRawStream(AliRawReader* rawReader); |
42d20574 | 14 | AliITSRawStream(const AliITSRawStream& stream); |
15 | AliITSRawStream& operator = (const AliITSRawStream& stream); | |
16 | virtual ~AliITSRawStream() {}; | |
c391f9d9 | 17 | |
18 | virtual Bool_t Next() = 0; | |
19 | ||
42d20574 | 20 | Int_t GetModuleID() const {return fModuleID;}; |
21 | Int_t GetPrevModuleID() const {return fPrevModuleID;}; | |
22 | Bool_t IsNewModule() const {return fModuleID != fPrevModuleID;}; | |
23 | Int_t GetCoord1() const {return fCoord1;}; | |
24 | Int_t GetCoord2() const {return fCoord2;}; | |
25 | Int_t GetSignal() const {return fSignal;}; | |
c391f9d9 | 26 | |
27 | protected : | |
7941072e | 28 | AliRawReader* fRawReader; // object for reading the raw data |
29 | ||
c391f9d9 | 30 | Int_t fModuleID; // index of current module |
31 | Int_t fPrevModuleID; // index of previous module | |
32 | Int_t fCoord1; // current 1st coordinate | |
33 | // SPD: column cell number (z) | |
34 | // SDD: anode cell number (z) | |
35 | // SSD: N/P, flag for side | |
36 | Int_t fCoord2; // current 2nd coordinate | |
37 | // SPD: row cell number (y) | |
38 | // SDD: time bin number (y) | |
39 | // SSD: strip number | |
40 | Int_t fSignal; // signal in ADC counts | |
41 | ||
42 | ClassDef(AliITSRawStream, 0) // base class for reading ITS raw digits | |
43 | }; | |
44 | ||
45 | #endif |