]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RAW/AliITSRawStreamSSD.h
possibility to select equipments
[u/mrichter/AliRoot.git] / RAW / AliITSRawStreamSSD.h
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"
7
8 class AliRawReader;
9
10
11 class AliITSRawStreamSSD: public AliITSRawStream {
12   public :
13     AliITSRawStreamSSD(AliRawReader* rawReader);
14     virtual ~AliITSRawStreamSSD() {};
15
16     virtual Bool_t   Next();
17
18     Int_t            GetSideFlag() const {return fCoord1;};
19     Int_t            GetStrip() const {return fCoord2;};
20
21     enum {kDDLsNumber = 16};      // number of DDLs in SSD
22     enum {kModulesPerDDL = 109};  // number of modules in each DDL
23
24     static Int_t     GetModuleNumber(UInt_t iDDL, UInt_t iModule)
25       {return fgkDDLModuleMap[iDDL][iModule];}
26
27   private :
28     static const Int_t fgkDDLModuleMap[kDDLsNumber][kModulesPerDDL];  // mapping DDL/module -> module number
29
30     UInt_t           fData;         // data read for file
31
32     ClassDef(AliITSRawStreamSSD, 0) // class for reading ITS SSD raw digits
33 };
34
35 #endif