1 #ifndef ALIFMDFLOATMAP_H
2 #define ALIFMDFLOATMAP_H
3 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights
6 * See cxx source for full Copyright notice
9 # include "AliFMDMap.h"
11 //____________________________________________________________________
13 // Array of floats indexed by strip identifier.
14 // the floats are indexed by the coordinates
16 // RING ID ('I' or 'O', any case)
20 class AliFMDFloatMap : public AliFMDMap
23 AliFMDFloatMap(Int_t maxDet = kMaxDetectors,
24 Int_t maxRing= kMaxRings,
25 Int_t maxSec = kMaxSectors,
26 Int_t maxStr = kMaxStrips);
27 AliFMDFloatMap(const AliFMDFloatMap& o);
28 virtual ~AliFMDFloatMap() { delete [] fData; }
29 AliFMDFloatMap& operator=(const AliFMDFloatMap& o);
30 virtual void Reset(const Float_t& v=Float_t());
31 virtual Float_t& operator()(UShort_t det,
35 virtual const Float_t& operator()(UShort_t det,
39 Float_t* Data() const { return fData; }
41 Int_t fTotal; // Total number of entries
42 Float_t* fData; //[fTotal]
43 ClassDef(AliFMDFloatMap,2) // Map of floats
47 //____________________________________________________________________