]>
Commit | Line | Data |
---|---|---|
56b1929b | 1 | #ifndef ALIFMDBOOLMAP_H |
2 | #define ALIFMDBOOLMAP_H | |
3 | /* Copyright (c) 2004, ALICE Experiment @ CERN. | |
4 | * All rights reserved | |
5 | * See AliFMDBoolMap.cxx for full copyright notice | |
6 | * | |
7 | * Created Mon Nov 8 12:51:51 2004 by Christian Holm Christensen | |
8 | */ | |
9 | /* $Id$ */ | |
10 | //__________________________________________________________ | |
11 | // | |
12 | // Map of Bool_t for each FMD strip | |
088f8e79 | 13 | // Used in calibration and the like classes. |
14 | // Used amoung other things for dead-channel map | |
56b1929b | 15 | // |
16 | #ifndef ALIFMDMAP_H | |
17 | # include <AliFMDMap.h> | |
18 | #endif | |
19 | ||
20 | class AliFMDBoolMap : public AliFMDMap | |
21 | { | |
22 | public: | |
23 | AliFMDBoolMap(const AliFMDBoolMap& other); | |
24 | AliFMDBoolMap(size_t maxDet = kMaxDetectors, | |
baa92757 | 25 | size_t maxRing = kMaxRings, |
26 | size_t maxSec = kMaxSectors, | |
27 | size_t maxStr = kMaxStrips); | |
56b1929b | 28 | virtual ~AliFMDBoolMap() { delete [] fData; } |
29 | AliFMDBoolMap& operator=(const AliFMDBoolMap& other); | |
69b696b9 | 30 | virtual void Reset(const Bool_t& v=Bool_t()); |
56b1929b | 31 | virtual Bool_t& operator()(UShort_t det, |
69b696b9 | 32 | Char_t ring, |
33 | UShort_t sec, | |
34 | UShort_t str); | |
56b1929b | 35 | virtual const Bool_t& operator()(UShort_t det, |
69b696b9 | 36 | Char_t ring, |
37 | UShort_t sec, | |
38 | UShort_t str) const; | |
56b1929b | 39 | protected: |
40 | Bool_t* fData; // The Data | |
41 | ClassDef(AliFMDBoolMap,1) // Map of Bool_t data per strip | |
42 | }; | |
43 | ||
44 | #endif | |
45 | //__________________________________________________________ | |
46 | // | |
47 | // Local Variables: | |
48 | // mode: C++ | |
49 | // End: | |
50 | // |