]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONV2DStore.h
Runloader is updated when moving to next file (quick fix).
[u/mrichter/AliRoot.git] / MUON / AliMUONV2DStore.h
CommitLineData
6cc447df 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
3
4// $Id$
5
f056a0c0 6/// \ingroup calib
51f67588 7/// \class AliMUONV2DStore
a9b67123 8/// \brief Generic container indexed by a pair of integers.
6cc447df 9///
5398f946 10// Author Laurent Aphecetche
6cc447df 11
12#ifndef AliMUONV2DSTORE_H
13#define AliMUONV2DSTORE_H
14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18
5020f600 19class AliMUONVDataIterator;
20
6cc447df 21class AliMUONV2DStore : public TObject
22{
23public:
9d5f6a64 24 AliMUONV2DStore();
6cc447df 25 virtual ~AliMUONV2DStore();
26
0aec3cf4 27 /// Return an empty copy of self.
28 virtual AliMUONV2DStore* CloneEmpty() const { return 0x0; }
29
a9b67123 30 /// Return the object stored at (i,j).
6cc447df 31 virtual TObject* Get(Int_t i, Int_t j) const = 0;
f056a0c0 32
33 /// Whether or not this container is the owner of its contents.
34 virtual Bool_t IsOwner() const = 0;
35
36 /// Return iterator
37 virtual AliMUONVDataIterator* Iterator() const { return 0x0; }
a9b67123 38
39 /** Set the object stored at (i,j).
40 if replace=false and there's already an object there, returns kFALSE
41 */
6cc447df 42 virtual Bool_t Set(Int_t i, Int_t j, TObject*, Bool_t replace) = 0;
a9b67123 43
1b9f295e 44 virtual void Print(Option_t* opt="") const;
45
6cc447df 46private:
a9b67123 47 ClassDef(AliMUONV2DStore,0) // Generic container indexed by a pair of integers
6cc447df 48};
49
50#endif