]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONGeometryStore.h
Removed unused (and not implemented) method AddSVPath()
[u/mrichter/AliRoot.git] / MUON / AliMUONGeometryStore.h
CommitLineData
e118b27e 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4// $Id$
692de412 5
6/// \ingroup geometry
7/// \class AliMUONGeometryStore
8/// \brief Array of objects sorted using the AliMUONVGeometryDEIndexing class
9///
10/// The class contains the array of objects (derived from TObject),
11/// which are sorted using the AliMUONVGeometryDEIndexing class.
12/// The class provides fast access to detection element via detElemId.
13///
14/// Author: Ivana Hrivnacova, IPN Orsay
e118b27e 15
16#ifndef ALI_MUON_GEOMETRY_STORE_H
17#define ALI_MUON_GEOMETRY_STORE_H
18
19#include <TObject.h>
20#include <TObjArray.h>
21
e118b27e 22class AliMUONGeometryStore : public TObject
23{
24 public:
46829bae 25 AliMUONGeometryStore(Bool_t isOwner);
e118b27e 26 AliMUONGeometryStore();
27 virtual ~AliMUONGeometryStore();
28
29 // methods
30 void Add(Int_t objectId, TObject* object);
31
32 // get methods
33 TObject* Get(Int_t objectId, Bool_t warn = true) const;
34
35 // methods for looping
36 Int_t GetNofEntries() const;
37 TObject* GetEntry(Int_t index) const;
38
39 protected:
40 AliMUONGeometryStore(const AliMUONGeometryStore& rhs);
41
42 // operators
43 AliMUONGeometryStore& operator = (const AliMUONGeometryStore& rhs);
44
45 private:
46 // static data members
47 static const Int_t fgkInitSize; // Initial size of array of objects
48
49 // data members
46829bae 50 TObjArray fObjects; // The array of detection elements
e118b27e 51
52 ClassDef(AliMUONGeometryStore,1) // MUON geometry store
53};
54
55#endif //ALI_MUON_GEOMETRY_STORE_H