4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 // ========================================================================
10 // Class to store variable size arrays of Float_t
11 // ========================================================================
17 class AliTOFArray : public TObject {
19 AliTOFArray(): TObject(),fSize(0),fArray(0x0){}
20 AliTOFArray(Int_t size);
21 AliTOFArray(const AliTOFArray & source);
22 AliTOFArray& operator=(const AliTOFArray & source);
23 Int_t GetSize() const {return fSize;}
24 void SetArray(Int_t pos, Int_t size=0);
25 void SetAt(Int_t pos, Int_t nelements, Float_t* content);
26 void SetAt(Int_t pos, Int_t ielement, Float_t content);
27 void RemoveArray(Int_t pos);
28 Float_t* GetArray(Int_t pos);
29 Float_t GetArrayAt(Int_t pos, Int_t ielement);
30 Int_t GetArraySize(Int_t pos);
31 void ReSetArraySize(Int_t pos, Int_t size);
32 virtual Long64_t Merge(TCollection *list);
33 virtual ~AliTOFArray();
36 Int_t fSize; // Size of the array of TArrayFs
37 TArrayF ** fArray; //[fSize]
39 ClassDef(AliTOFArray,1)