#ifndef ALIFMDFLOATMAP_H #define ALIFMDFLOATMAP_H /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights * reserved. * * See cxx source for full Copyright notice */ #ifndef ALIFMDMAP_H # include "AliFMDMap.h" #endif //____________________________________________________________________ // // Array of floats indexed by strip identifier. // the floats are indexed by the coordinates // DETECTOR # (1-3) // RING ID ('I' or 'O', any case) // SECTOR # (0-39) // STRIP # (0-511) // class AliFMDFloatMap : public AliFMDMap { public: AliFMDFloatMap(Int_t maxDet = kMaxDetectors, Int_t maxRing= kMaxRings, Int_t maxSec = kMaxSectors, Int_t maxStr = kMaxStrips); AliFMDFloatMap(const AliFMDFloatMap& o); virtual ~AliFMDFloatMap() { delete [] fData; } AliFMDFloatMap& operator=(const AliFMDFloatMap& o); virtual void Reset(const Float_t& v=Float_t()); virtual Float_t& operator()(UShort_t det, Char_t ring, UShort_t sec, UShort_t str); virtual const Float_t& operator()(UShort_t det, Char_t ring, UShort_t sec, UShort_t str) const; protected: Int_t fTotal; // Total number of entries Float_t* fData; //[fTotal] ClassDef(AliFMDFloatMap,2) // Map of floats }; #endif //____________________________________________________________________ // // Local Variables: // mode: C++ // End: //