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 */
11 class AliITSRawStream: public TObject {
13 AliITSRawStream(AliRawReader* rawReader);
14 AliITSRawStream(const AliITSRawStream& stream);
15 AliITSRawStream& operator = (const AliITSRawStream& stream);
16 virtual ~AliITSRawStream() {};
18 virtual Bool_t Next() = 0;
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;};
28 AliRawReader* fRawReader; // object for reading the raw data
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)
40 Int_t fSignal; // signal in ADC counts
42 ClassDef(AliITSRawStream, 0) // base class for reading ITS raw digits