]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONV1DStore.h
Corrected some manu Id's in mapping for slat and updated the serial manu numbers
[u/mrichter/AliRoot.git] / MUON / AliMUONV1DStore.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
51f67588 7/// \class AliMUONV1DStore
70b4a8d6 8/// \brief Generic container indexed by a single integer.
9///
5398f946 10// Author Laurent Aphecetche
70b4a8d6 11
12#ifndef AliMUONV1DSTORE_H
13#define AliMUONV1DSTORE_H
14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18
19class AliMUONV1DStore : public TObject
20{
21public:
22 AliMUONV1DStore();
23 virtual ~AliMUONV1DStore();
24
25 /// Return the object stored at i.
26 virtual TObject* Get(Int_t i) const = 0;
27
28 /** Set the object stored at i.
29 if replace=false and there's already an object there, returns kFALSE
30 */
31 virtual Bool_t Set(Int_t i, TObject*, Bool_t replace) = 0;
32
33 /// Whether or not this container is the owner of its contents.
34 virtual Bool_t IsOwner() const = 0;
35
36private:
37 ClassDef(AliMUONV1DStore,0) // Generic container indexed by a single integer
38};
39
40#endif