/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-/* $Id: AliTRDsegmentArrayBase.h,v */
+/* $Id$ */
////////////////////////////////////////////////
// Manager class for a general Alice segment //
AliTRDsegmentArrayBase &operator=(const AliTRDsegmentArrayBase &a);
const AliTRDsegmentID *At(Int_t i) const;
- const AliTRDsegmentID *operator[](Int_t i);
+ const AliTRDsegmentID *operator[](Int_t i) const;
Bool_t AddSegment(AliTRDsegmentID *segment);
AliTRDsegmentID *AddSegment(Int_t index);
virtual Bool_t ConnectTree(const char *treeName);
Bool_t MakeArray(Int_t n);
virtual AliTRDsegmentID *NewSegment();
- virtual void MakeTree();
+ virtual void MakeTree(char *file = 0);
virtual AliTRDsegmentID *LoadSegment(Int_t index);
virtual AliTRDsegmentID *LoadEntry(Int_t index);
virtual void StoreSegment(Int_t index);