]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUON1DMap.h
Cache the InversePitch instead of computing it each time.
[u/mrichter/AliRoot.git] / MUON / AliMUON1DMap.h
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
7 /// \class AliMUONDeMap
8 /// \brief Basic implementation of AliMUONV1DStore container using
9 /// AliMpExMap internally
10 ///
11 /// Should be revised for better preformance ...
12 /// 
13 /// \author Laurent Aphecetche
14
15 #ifndef AliMUON1DMAP_H
16 #define AliMUON1DMAP_H
17
18 class AliMpExMap;
19
20 #include "AliMUONV1DStore.h"
21
22 class AliMUON1DMap : public AliMUONV1DStore
23 {
24 public:
25   AliMUON1DMap();
26   virtual ~AliMUON1DMap();
27
28   virtual TObject* Get(Int_t detElemId) const;
29   virtual Bool_t Set(Int_t detElemId, TObject* object, Bool_t replace=kTRUE);
30   virtual Bool_t IsOwner() const;
31   
32 private:
33   AliMpExMap* fMap;
34   
35   ClassDef(AliMUON1DMap,1) // 
36 };
37
38 #endif