00001 #ifndef ALIFMDBOOLMAP_H
00002 #define ALIFMDBOOLMAP_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef ALIFMDMAP_H
00017 # include <AliFMDMap.h>
00018 #endif
00019
00024 class AliFMDBoolMap : public AliFMDMap
00025 {
00026 public:
00029 AliFMDBoolMap(const AliFMDBoolMap& other);
00035 AliFMDBoolMap(size_t maxDet = kMaxDetectors,
00036 size_t maxRing = kMaxRings,
00037 size_t maxSec = kMaxSectors,
00038 size_t maxStr = kMaxStrips);
00040 virtual ~AliFMDBoolMap() { delete [] fData; }
00044 AliFMDBoolMap& operator=(const AliFMDBoolMap& other);
00047 virtual void Reset(const Bool_t& v=Bool_t());
00054 virtual Bool_t& operator()(UShort_t det,
00055 Char_t ring,
00056 UShort_t sec,
00057 UShort_t str);
00064 virtual const Bool_t& operator()(UShort_t det,
00065 Char_t ring,
00066 UShort_t sec,
00067 UShort_t str) const;
00068 protected:
00069 size_t fTotal;
00070 Bool_t* fData;
00071 ClassDef(AliFMDBoolMap,2)
00072 };
00073
00074 #endif
00075
00076
00077
00078
00079
00080