]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSRawStreamSDD.h
Using TMath::Abs instead of fabs
[u/mrichter/AliRoot.git] / ITS / AliITSRawStreamSDD.h
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                               */
5
6 #include "AliITSRawStream.h"
7 #include "AliRawReader.h"
8
9
10 class AliITSRawStreamSDD: public AliITSRawStream {
11   public :
12     AliITSRawStreamSDD();
13
14     virtual Bool_t   Next();
15
16     inline Int_t     GetAnode() const {return fCoord1;};
17     inline Int_t     GetTime() const {return fCoord2;};
18
19     static const Int_t kDDLsNumber = 12;      // number of DDLs in SDD
20     static const Int_t kModulesPerDDL = 22;   // number of modules in each DDL 
21     static const Int_t kDDLModuleMap[kDDLsNumber][kModulesPerDDL];
22
23   private :
24     AliRawReader     fRawReader;    // object for reading the raw data file
25     UInt_t           fData;         // data read for file
26
27     ClassDef(AliITSRawStreamSDD, 0) // class for reading ITS SDD raw digits
28 };
29
30 #endif