]>
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. | |
6169f936 | 14 | // the floats are indexed by the coordinates |
15 | // DETECTOR # (1-3) | |
16 | // RING ID ('I' or 'O', any case) | |
17 | // SECTOR # (0-39) | |
18 | // STRIP # (0-511) | |
9da38871 | 19 | // |
20 | class AliFMDFloatMap : public AliFMDMap | |
21 | { | |
22 | public: | |
23 | AliFMDFloatMap(size_t maxDet = kMaxDetectors, | |
24 | size_t maxRing= kMaxRings, | |
25 | size_t maxSec = kMaxSectors, | |
26 | size_t maxStr = kMaxStrips); | |
27 | AliFMDFloatMap(const AliFMDFloatMap& o); | |
28 | virtual ~AliFMDFloatMap() { delete [] fData; } | |
29 | AliFMDFloatMap& operator=(const AliFMDFloatMap& o); | |
30 | virtual void Reset(const Float_t& v=Float_t()); | |
31 | virtual Float_t& operator()(UShort_t det, | |
32 | Char_t ring, | |
33 | UShort_t sec, | |
34 | UShort_t str); | |
35 | virtual const Float_t& operator()(UShort_t det, | |
36 | Char_t ring, | |
37 | UShort_t sec, | |
38 | UShort_t str) const; | |
39 | protected: | |
ac07a8f5 | 40 | size_t fTotal; // Total number of entries |
41 | Float_t* fData; //[fTotal] | |
9da38871 | 42 | ClassDef(AliFMDFloatMap,1) // Map of floats |
43 | }; | |
44 | ||
45 | #endif | |
46 | //____________________________________________________________________ | |
47 | // | |
48 | // Local Variables: | |
49 | // mode: C++ | |
50 | // End: | |
51 | // | |
52 |