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 */
8 ///////////////////////////////////////////////////////////////////////////////
10 /// This class provides access to ITS SSD digits in raw data.
11 // Revised by Enrico Fragiacomo
12 // Last update: 2007/09/06
14 ///////////////////////////////////////////////////////////////////////////////
16 #include "AliITSRawStream.h"
21 class AliITSRawStreamSSD: public AliITSRawStream {
23 AliITSRawStreamSSD(AliRawReader* rawReader);
24 virtual ~AliITSRawStreamSSD() {};
26 virtual Bool_t Next();
28 Int_t GetSideFlag() const {return fCoord1;};
29 Int_t GetStrip() const {return fCoord2;};
31 enum {kDDLsNumber = 16}; // number of DDLs in SSD
32 enum {kModulesPerDDL = 108}; // number of modules in each DDL
34 static Int_t GetModuleNumber(UInt_t iDDL, UInt_t iModule)
35 {return fgkDDLModuleMap[iDDL][iModule];}
37 enum ESSDRawStreamError {
47 static const Int_t fgkDDLModuleMap[kDDLsNumber][kModulesPerDDL]; // mapping DDL/module -> module number
49 UInt_t fData; // data read for file
51 ClassDef(AliITSRawStreamSSD, 0) // class for reading ITS SSD raw digits