]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/TPCbase/AliTPCDigitsArray.h
doxy: TPC/TPCbase converted
[u/mrichter/AliRoot.git] / TPC / TPCbase / AliTPCDigitsArray.h
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 /// \class AliTPCDigitsArray
9 /// \brief Manager class for TPC digits
10
11
12 #include "AliDigits.h"
13 #include "AliDigitsArray.h"
14 #include "AliTPCParam.h"
15
16 class AliDigits;
17 class AliDetectorParam;
18
19 class AliTPCDigitsArray : public AliDigitsArray {
20 public:
21   AliTPCDigitsArray(Bool_t sim=kTRUE);
22   virtual   ~AliTPCDigitsArray();
23   AliDigits *  GetRow(Int_t sector,Int_t row); //return pointer to row from array
24   AliDigits *  CreateRow(Int_t sector, Int_t row); //
25   AliDigits *  LoadRow(Int_t sector,Int_t row);
26   Bool_t StoreRow(Int_t sector,Int_t row);
27   Bool_t ClearRow(Int_t sector,Int_t row);
28   Bool_t Setup(AliDetectorParam *param);
29
30   Bool_t IsSimulated(){return fBSim;}
31   Bool_t  Update();
32 private:
33   Bool_t fBSim;             ///< signalize if we have digits with track ID
34   Int_t  fCompression;      ///< default compression for AliDigits - used in storing
35   Int_t  fTrackLevel;        ///< default level for track ID storing
36   /// \cond CLASSIMP
37   ClassDef(AliTPCDigitsArray,1) // TPC digits manager
38   /// \endcond
39 };
40
41 #endif //ALITPCCLUSTERSARRAY_H