]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliFMDFloatMap.h
Suffix top level Branch names with a dot, to allow switching on/off via SetBranchStat...
[u/mrichter/AliRoot.git] / STEER / AliFMDFloatMap.h
CommitLineData
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
d65adc48 9# include "AliFMDMap.h"
9da38871 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//
20class AliFMDFloatMap : public AliFMDMap
21{
22public:
fe12e09c 23 AliFMDFloatMap(Int_t maxDet = kMaxDetectors,
24 Int_t maxRing= kMaxRings,
25 Int_t maxSec = kMaxSectors,
26 Int_t maxStr = kMaxStrips);
9da38871 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;
c05d076f 39 Float_t* Data() const { return fData; }
9da38871 40protected:
fe12e09c 41 Int_t fTotal; // Total number of entries
ac07a8f5 42 Float_t* fData; //[fTotal]
fe12e09c 43 ClassDef(AliFMDFloatMap,2) // Map of floats
9da38871 44};
45
46#endif
47//____________________________________________________________________
48//
49// Local Variables:
50// mode: C++
51// End:
52//
53