Create the magnetic field map in the reconstruction macros (Yuri)
[u/mrichter/AliRoot.git] / MUON / AliMUON1DMap.h
CommitLineData
83c386fb 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
3
4// $Id$
5
46df088d 6/// \ingroup core
83c386fb 7/// \class AliMUON1DMap
4178b5c7 8/// \brief Implementation of AliMUONVStore
83c386fb 9///
10// Author Laurent Aphecetche
11
12#ifndef ALIMUON1DMAP_H
13#define ALIMUON1DMAP_H
14
15#ifndef ALIMUONV1DSTORE_H
4178b5c7 16# include "AliMUONVStore.h"
83c386fb 17#endif
18
19class AliMpExMap;
20
4178b5c7 21class AliMUON1DMap : public AliMUONVStore
83c386fb 22{
23public:
24 AliMUON1DMap(Int_t theSize=0);
25 AliMUON1DMap(const AliMUON1DMap& other);
26 AliMUON1DMap& operator=(const AliMUON1DMap& other);
83c386fb 27 virtual ~AliMUON1DMap();
4178b5c7 28
29 virtual Bool_t Add(TObject* object);
30
31 virtual Bool_t CanConnect() const { return kFALSE; }
83c386fb 32
4178b5c7 33 virtual void Clear(Option_t* opt="");
34
35 virtual AliMUON1DMap* Create() const;
83c386fb 36
4178b5c7 37 using AliMUONVStore::FindObject;
83c386fb 38
4178b5c7 39 virtual TObject* FindObject(UInt_t i) const;
49419555 40
41 virtual TObject* FindObject(Int_t i, Int_t j) const;
42
4178b5c7 43 virtual TIterator* CreateIterator() const;
83c386fb 44
4178b5c7 45 using AliMUONVStore::GetSize;
46
47 virtual Int_t GetSize() const;
83c386fb 48
49private:
7332f213 50 virtual Bool_t Set(Int_t i, TObject* object);
83c386fb 51
52private:
53
54 AliMpExMap* fMap; ///< Internal array (map)
55
4178b5c7 56 ClassDef(AliMUON1DMap,1) // Implementation of AliMUONVStore
83c386fb 57};
58
59#endif