]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RAW/AliITSRawStreamSDD.h
create a new AliEn directory per day (like for the physical files in CASTOR),
[u/mrichter/AliRoot.git] / RAW / 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
8 class AliRawReader;
9
10
11 class AliITSRawStreamSDD: public AliITSRawStream {
12   public :
13     AliITSRawStreamSDD(AliRawReader* rawReader);
14     virtual ~AliITSRawStreamSDD() {};
15
16     virtual Bool_t   Next();
17
18     Int_t            GetAnode() const {return fCoord1;};
19     Int_t            GetTime() const {return fCoord2;};
20
21   private :
22     static const Int_t fgkDDLsNumber = 12;      // number of DDLs in SDD
23     static const Int_t fgkModulesPerDDL = 22;   // number of modules in each DDL 
24     static const Int_t fgkDDLModuleMap[fgkDDLsNumber][fgkModulesPerDDL];  // mapping DDL/module -> module number
25
26     UInt_t           fData;         // data read for file
27
28     ClassDef(AliITSRawStreamSDD, 0) // class for reading ITS SDD raw digits
29 };
30
31 #endif