]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RAW/AliITSRawStreamSPD.h
Renove the clusterizer after Reconstruct. Use as much the runloader instead of the...
[u/mrichter/AliRoot.git] / RAW / AliITSRawStreamSPD.h
CommitLineData
c391f9d9 1#ifndef ALIITSRAWSTREAMSPD_H
2#define ALIITSRAWSTREAMSPD_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"
c391f9d9 7
8
9class AliITSRawStreamSPD: public AliITSRawStream {
10 public :
7941072e 11 AliITSRawStreamSPD(AliRawReader* rawReader);
42d20574 12 virtual ~AliITSRawStreamSPD() {};
c391f9d9 13
14 virtual Bool_t Next();
15
42d20574 16 Int_t GetRow() const {return fCoord1;};
17 Int_t GetColumn() const {return fCoord2;};
c391f9d9 18
0421c3d1 19 enum {kDDLOffset = 0x100}; // offset for DDL numbers
a864f8e9 20 enum {kDDLsNumber = 20}; // number of DDLs in SPD
21 enum {kModulesPerDDL = 12}; // number of modules in each DDL
22
23 static Int_t GetModuleNumber(UInt_t iDDL, UInt_t iModule)
24 {return fgkDDLModuleMap[iDDL][iModule];}
25
c391f9d9 26 private :
a864f8e9 27 static const Int_t fgkDDLModuleMap[kDDLsNumber][kModulesPerDDL]; // mapping DDL/module -> module number
28
c391f9d9 29 UShort_t fData; // data read for file
30 UInt_t fOffset; // offset for cell column
31 UInt_t fHitCount; // counter of hits
32
33 ClassDef(AliITSRawStreamSPD, 0) // class for reading ITS SPD raw digits
34};
35
36#endif