]>
Commit | Line | Data |
---|---|---|
c391f9d9 | 1 | #ifndef ALIITSRAWSTREAMSSD_H |
2 | #define ALIITSRAWSTREAMSSD_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" | |
42d20574 | 7 | |
8 | class AliRawReader; | |
c391f9d9 | 9 | |
10 | ||
11 | class AliITSRawStreamSSD: public AliITSRawStream { | |
12 | public : | |
7941072e | 13 | AliITSRawStreamSSD(AliRawReader* rawReader); |
42d20574 | 14 | virtual ~AliITSRawStreamSSD() {}; |
c391f9d9 | 15 | |
16 | virtual Bool_t Next(); | |
17 | ||
42d20574 | 18 | Int_t GetSideFlag() const {return fCoord1;}; |
19 | Int_t GetStrip() const {return fCoord2;}; | |
c391f9d9 | 20 | |
0421c3d1 | 21 | enum {kDDLOffset = 0x300}; // offset for DDL numbers |
a864f8e9 | 22 | enum {kDDLsNumber = 16}; // number of DDLs in SSD |
23 | enum {kModulesPerDDL = 109}; // number of modules in each DDL | |
24 | ||
25 | static Int_t GetModuleNumber(UInt_t iDDL, UInt_t iModule) | |
26 | {return fgkDDLModuleMap[iDDL][iModule];} | |
27 | ||
c391f9d9 | 28 | private : |
a864f8e9 | 29 | static const Int_t fgkDDLModuleMap[kDDLsNumber][kModulesPerDDL]; // mapping DDL/module -> module number |
42d20574 | 30 | |
c391f9d9 | 31 | UInt_t fData; // data read for file |
32 | ||
33 | ClassDef(AliITSRawStreamSSD, 0) // class for reading ITS SSD raw digits | |
34 | }; | |
35 | ||
36 | #endif |