]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUON2DMap.h
Cache the InversePitch instead of computing it each time.
[u/mrichter/AliRoot.git] / MUON / AliMUON2DMap.h
CommitLineData
f6e5d0e9 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
7/// \class AliMUON2DMap
8/// \brief Basic implementation of AliMUONV2DStore container using
e5cc543e 9/// AliMpExMap internally.
f6e5d0e9 10///
f6e5d0e9 11/// \author Laurent Aphecetche
12
13#ifndef AliMUON2DMAP_H
14#define AliMUON2DMAP_H
15
16#include "AliMUONV2DStore.h"
17
18class AliMpExMap;
19
20class AliMUON2DMap : public AliMUONV2DStore
21{
22public:
23 AliMUON2DMap();
24 virtual ~AliMUON2DMap();
25
26 virtual TObject* Get(Int_t i, Int_t j) const;
27 virtual Bool_t Set(Int_t i, Int_t j, TObject*, Bool_t replace);
e5cc543e 28 virtual Bool_t IsOwner() const { return kTRUE; }
f6e5d0e9 29
30 virtual void Print(Option_t* opt="") const;
31
32private:
33 AliMpExMap* fMap;
34
e5cc543e 35 ClassDef(AliMUON2DMap,1) // A 2D container
f6e5d0e9 36};
37
38#endif