1 #ifndef ALIITSRAWSTREAMSDD_H
2 #define ALIITSRAWSTREAMSDD_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 #include "AliITSRawStream.h"
11 class AliITSRawStreamSDD: public AliITSRawStream {
13 AliITSRawStreamSDD(AliRawReader* rawReader);
14 virtual ~AliITSRawStreamSDD() {};
16 virtual Bool_t Next();
18 Int_t GetAnode() const {return fCoord1;};
19 Int_t GetTime() const {return fCoord2;};
21 enum {kDDLsNumber = 12}; // number of DDLs in SDD
22 enum {kModulesPerDDL = 22}; // number of modules in each DDL
24 static Int_t GetModuleNumber(UInt_t iDDL, UInt_t iModule)
25 {return fgkDDLModuleMap[iDDL][iModule];}
28 static const Int_t fgkDDLModuleMap[kDDLsNumber][kModulesPerDDL]; // mapping DDL/module -> module number
30 UInt_t fData; // data read for file
32 ClassDef(AliITSRawStreamSDD, 0) // class for reading ITS SDD raw digits