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 ////////////////////////////////////////////////////////////////////////////
12 // Array for TRD detector segments containing digits //
14 ////////////////////////////////////////////////////////////////////////////
18 class AliTRDdataArray;
20 class AliTRDsegmentArray : public AliTRDsegmentArrayBase {
25 AliTRDsegmentArray(const char *classname, Int_t n);
26 AliTRDsegmentArray(AliTRDsegmentArray &a);
27 virtual ~AliTRDsegmentArray();
29 virtual void Copy(TObject &a) const;
30 virtual void Delete();
31 virtual void Delete(const char *) { Delete(); };
33 virtual Bool_t LoadArray(const Char_t *branchname, TTree *tree = 0);
34 virtual Bool_t StoreArray(const Char_t *branchname, TTree *tree = 0);
36 virtual AliTRDdataArray *GetDataArray(Int_t det) const;
37 virtual AliTRDdataArray *GetDataArray(Int_t sec, Int_t cha, Int_t pla) const;
41 ClassDef(AliTRDsegmentArray,1) // TRD detector segment array