00001 #ifndef ALIFMDUSHORTMAP_H
00002 #define ALIFMDUSHORTMAP_H
00003
00004
00005
00006
00007
00008 #ifndef ALIFMDMAP_H
00009 # include "AliFMDMap.h"
00010 #endif
00011
00016 class AliFMDUShortMap : public AliFMDMap
00017 {
00018 public:
00021 AliFMDUShortMap(const AliFMDUShortMap& other);
00027 AliFMDUShortMap(size_t maxDet = kMaxDetectors,
00028 size_t maxRing= kMaxRings,
00029 size_t maxSec = kMaxSectors,
00030 size_t maxStr = kMaxStrips);
00032 virtual ~AliFMDUShortMap() { delete [] fData; }
00036 AliFMDUShortMap& operator=(const AliFMDUShortMap& other);
00039 virtual void Reset(const UShort_t& val=UShort_t());
00046 virtual UShort_t& operator()(UShort_t detector,
00047 Char_t ring,
00048 UShort_t sector,
00049 UShort_t strip);
00056 virtual const UShort_t& operator()(UShort_t detector,
00057 Char_t ring,
00058 UShort_t sector,
00059 UShort_t strip) const;
00060 protected:
00061 size_t fTotal;
00062 UShort_t* fData;
00063 ClassDef(AliFMDUShortMap, 2)
00064 };
00065
00066 #endif
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076