]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALITRDSEGMENTARRAY_H | |
2 | #define ALITRDSEGMENTARRAY_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 | #include "AliTRDsegmentArrayBase.h" | |
9 | ||
10 | //////////////////////////////////////////////////////////////////////////// | |
11 | // // | |
12 | // Array for TRD detector segments containing digits // | |
13 | // // | |
14 | //////////////////////////////////////////////////////////////////////////// | |
15 | ||
16 | class TTree; | |
17 | ||
18 | class AliTRDdataArray; | |
19 | ||
20 | class AliTRDsegmentArray : public AliTRDsegmentArrayBase { | |
21 | ||
22 | public: | |
23 | ||
24 | AliTRDsegmentArray(); | |
25 | AliTRDsegmentArray(const char *classname, Int_t n); | |
26 | AliTRDsegmentArray(AliTRDsegmentArray &a); | |
27 | virtual ~AliTRDsegmentArray(); | |
28 | ||
29 | virtual void Copy(TObject &a) const; | |
30 | virtual void Delete(); | |
31 | virtual void Delete(const char *) { Delete(); }; | |
32 | ||
33 | virtual Bool_t LoadArray(const Char_t *branchname, TTree *tree = 0); | |
34 | virtual Bool_t StoreArray(const Char_t *branchname, TTree *tree = 0); | |
35 | ||
36 | virtual AliTRDdataArray *GetDataArray(Int_t det) const; | |
37 | virtual AliTRDdataArray *GetDataArray(Int_t sec, Int_t cha, Int_t pla) const; | |
38 | ||
39 | protected: | |
40 | ||
41 | ClassDef(AliTRDsegmentArray,1) // TRD detector segment array | |
42 | ||
43 | }; | |
44 | ||
45 | #endif |