]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUON1DArray.h
new lookup table for sim. data with numberof TRMs
[u/mrichter/AliRoot.git] / MUON / AliMUON1DArray.h
CommitLineData
70b4a8d6 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
3
4// $Id$
5
6/// \ingroup base
090443dd 7/// \class AliMUON1DArray
70b4a8d6 8/// \brief Implementation of AliMUONV1DStore
9///
5398f946 10// Author Laurent Aphecetche
70b4a8d6 11
12#ifndef ALIMUON1DARRAY_H
13#define ALIMUON1DARRAY_H
14
15#ifndef ALIMUONV1DSTORE_H
16# include "AliMUONV1DStore.h"
17#endif
18
19class TObjArray;
20
21class AliMUON1DArray : public AliMUONV1DStore
22{
23public:
24 AliMUON1DArray(Int_t theSize=0);
25 AliMUON1DArray(const AliMUON1DArray& other);
26 AliMUON1DArray& operator=(const AliMUON1DArray& other);
27
28 virtual ~AliMUON1DArray();
29
30 /// Return the object stored at i.
31 virtual TObject* Get(Int_t i) const;
32
33 /** Set the object stored at i.
34 if replace=false and there's already an object there, returns kFALSE
35 */
36 virtual Bool_t Set(Int_t i, TObject* object, Bool_t replace);
37
38 /// Whether or not this container is the owner of its contents.
39 virtual Bool_t IsOwner() const { return kTRUE; }
40
41private:
42 void CopyTo(AliMUON1DArray& to) const;
43
44private:
45
18b6b8c7 46 TObjArray* fArray; ///< Internal array
70b4a8d6 47
48 ClassDef(AliMUON1DArray,1) // Implementation of AliMUONV1DStore
49};
50
51#endif