]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALITPCDIGITSARRAY_H | |
2 | #define ALITPCDIGITSARRAY_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //////////////////////////////////////////////// | |
9 | // Manager class for TPC digits // | |
10 | //////////////////////////////////////////////// | |
11 | ||
12 | ||
13 | #include "AliDigits.h" | |
14 | #include "AliDigitsArray.h" | |
15 | #include "AliTPCParam.h" | |
16 | ||
17 | class AliDigits; | |
18 | class AliDetectorParam; | |
19 | ||
20 | class AliTPCDigitsArray : public AliDigitsArray { | |
21 | public: | |
22 | AliTPCDigitsArray(Bool_t sim=kTRUE); | |
23 | virtual ~AliTPCDigitsArray(); | |
24 | AliDigits * GetRow(Int_t sector,Int_t row); //return pointer to row from array | |
25 | AliDigits * CreateRow(Int_t sector, Int_t row); // | |
26 | AliDigits * LoadRow(Int_t sector,Int_t row); | |
27 | Bool_t StoreRow(Int_t sector,Int_t row); | |
28 | Bool_t ClearRow(Int_t sector,Int_t row); | |
29 | Bool_t Setup(AliDetectorParam *param); | |
30 | ||
31 | Bool_t IsSimulated(){return fBSim;} | |
32 | Bool_t Update(); | |
33 | private: | |
34 | Bool_t fBSim; //signalize if we have digits with track ID | |
35 | Int_t fCompression; //default compression for AliDigits - used in storing | |
36 | Int_t fTrackLevel; //default level for track ID storing | |
37 | ClassDef(AliTPCDigitsArray,1) // TPC digits manager | |
38 | }; | |
39 | ||
40 | #endif //ALITPCCLUSTERSARRAY_H |