]>
Commit | Line | Data |
---|---|---|
cc80f89e | 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 | //////////////////////////////////////////////// | |
27f30e03 | 9 | // Manager class for TPC digits // |
cc80f89e | 10 | //////////////////////////////////////////////// |
11 | ||
27f30e03 | 12 | |
cc80f89e | 13 | #include "AliDigits.h" |
cc80f89e | 14 | #include "AliDigitsArray.h" |
15 | #include "AliTPCParam.h" | |
16 | ||
27f30e03 | 17 | class AliDigits; |
18 | class AliDetectorParam; | |
cc80f89e | 19 | |
20 | class AliTPCDigitsArray : public AliDigitsArray { | |
21 | public: | |
22 | AliTPCDigitsArray(Bool_t sim=kTRUE); | |
27f30e03 | 23 | virtual ~AliTPCDigitsArray(); |
cc80f89e | 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;} | |
27f30e03 | 32 | Bool_t Update(); |
cc80f89e | 33 | private: |
cc80f89e | 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 | |
27f30e03 | 37 | ClassDef(AliTPCDigitsArray,1) // TPC digits manager |
cc80f89e | 38 | }; |
39 | ||
40 | #endif //ALITPCCLUSTERSARRAY_H |