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 */
8 #include "AliTRDsegmentArrayBase.h"
10 ////////////////////////////////////////////////////////
11 // Array for TRD detector segments containing digits //
12 ////////////////////////////////////////////////////////
16 class AliTRDdataArray;
18 //_____________________________________________________________________________
19 class AliTRDsegmentArray : public AliTRDsegmentArrayBase {
24 AliTRDsegmentArray(Text_t *classname, Int_t n);
25 AliTRDsegmentArray(AliTRDsegmentArray &a);
26 virtual ~AliTRDsegmentArray();
28 virtual void Copy(TObject &a);
29 virtual void Delete();
30 virtual void Delete(const char *) { Delete(); };
32 virtual Bool_t LoadArray(const Char_t *branchname, TTree *tree = 0);
33 virtual Bool_t StoreArray(const Char_t *branchname, TTree *tree = 0);
35 virtual AliTRDdataArray *GetDataArray(Int_t det) const;
36 virtual AliTRDdataArray *GetDataArray(Int_t sec, Int_t cha, Int_t pla) const;
40 ClassDef(AliTRDsegmentArray,1) // TRD detector segment array