]>
Commit | Line | Data |
---|---|---|
9da38871 | 1 | #ifndef ALIFMDFLOATMAP_H |
2 | #define ALIFMDFLOATMAP_H | |
3 | /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights | |
4 | * reserved. | |
5 | * | |
6 | * See cxx source for full Copyright notice | |
7 | */ | |
8 | #ifndef ALIFMDMAP_H | |
9 | # include <AliFMDMap.h> | |
10 | #endif | |
11 | //____________________________________________________________________ | |
12 | // | |
13 | // Array of floats indexed by strip identifier. | |
14 | // | |
15 | class AliFMDFloatMap : public AliFMDMap | |
16 | { | |
17 | public: | |
18 | AliFMDFloatMap(size_t maxDet = kMaxDetectors, | |
19 | size_t maxRing= kMaxRings, | |
20 | size_t maxSec = kMaxSectors, | |
21 | size_t maxStr = kMaxStrips); | |
22 | AliFMDFloatMap(const AliFMDFloatMap& o); | |
23 | virtual ~AliFMDFloatMap() { delete [] fData; } | |
24 | AliFMDFloatMap& operator=(const AliFMDFloatMap& o); | |
25 | virtual void Reset(const Float_t& v=Float_t()); | |
26 | virtual Float_t& operator()(UShort_t det, | |
27 | Char_t ring, | |
28 | UShort_t sec, | |
29 | UShort_t str); | |
30 | virtual const Float_t& operator()(UShort_t det, | |
31 | Char_t ring, | |
32 | UShort_t sec, | |
33 | UShort_t str) const; | |
34 | protected: | |
ac07a8f5 | 35 | size_t fTotal; // Total number of entries |
36 | Float_t* fData; //[fTotal] | |
9da38871 | 37 | ClassDef(AliFMDFloatMap,1) // Map of floats |
38 | }; | |
39 | ||
40 | #endif | |
41 | //____________________________________________________________________ | |
42 | // | |
43 | // Local Variables: | |
44 | // mode: C++ | |
45 | // End: | |
46 | // | |
47 |