1 #ifndef ALIFMDBOOLMAP_H
2 #define ALIFMDBOOLMAP_H
3 /* Copyright (c) 2004, ALICE Experiment @ CERN.
5 * See AliFMDBoolMap.cxx for full copyright notice
7 * Created Mon Nov 8 12:51:51 2004 by Christian Holm Christensen
10 //__________________________________________________________
12 // Map of Bool_t for each FMD strip
13 // Used in calibration and the like classes.
14 // Used amoung other things for dead-channel map
17 # include <AliFMDMap.h>
20 class AliFMDBoolMap : public AliFMDMap
23 AliFMDBoolMap(const AliFMDBoolMap& other);
24 AliFMDBoolMap(size_t maxDet = kMaxDetectors,
25 size_t maxRing = kMaxRings,
26 size_t maxSec = kMaxSectors,
27 size_t maxStr = kMaxStrips);
28 virtual ~AliFMDBoolMap() { delete [] fData; }
29 AliFMDBoolMap& operator=(const AliFMDBoolMap& other);
30 virtual void Reset(const Bool_t& v=Bool_t());
31 virtual Bool_t& operator()(UShort_t det,
35 virtual const Bool_t& operator()(UShort_t det,
40 size_t fTotal; // Total number of entries
41 Bool_t* fData; // [fTotal] The Data
42 ClassDef(AliFMDBoolMap,2) // Map of Bool_t data per strip
46 //__________________________________________________________