Added the class AliFMDGeometryBuilder (and derived
[u/mrichter/AliRoot.git] / FMD / AliFMDUShortMap.h
CommitLineData
e802be3e 1#ifndef ALIFMDEDEPMAP_H
2#define ALIFMDEDEPMAP_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
97961cbd 9# include "AliFMDMap.h"
e802be3e 10#endif
11//____________________________________________________________________
12//
13// Cache of Energy deposited, hit information perr strip
14//
15
16//____________________________________________________________________
17class AliFMDUShortMap : public AliFMDMap
18{
19public:
20 AliFMDUShortMap(const AliFMDUShortMap& other);
21 AliFMDUShortMap(size_t maxDet = kMaxDetectors,
22 size_t maxRing= kMaxRings,
23 size_t maxSec = kMaxSectors,
24 size_t maxStr = kMaxStrips);
25 virtual ~AliFMDUShortMap() { delete [] fData; }
26 AliFMDUShortMap& operator=(const AliFMDUShortMap& other);
27 virtual void Clear(const UShort_t& val=UShort_t());
28 virtual UShort_t& operator()(UShort_t detector,
29 Char_t ring,
30 UShort_t sector,
31 UShort_t strip);
32 virtual const UShort_t& operator()(UShort_t detector,
33 Char_t ring,
34 UShort_t sector,
35 UShort_t strip) const;
36 protected:
37 UShort_t* fData; // The data
38 ClassDef(AliFMDUShortMap, 1) // Cache of edep,hit information per strip
39};
40
41#endif
42//____________________________________________________________________
43//
44// Local Variables:
45// mode: C++
46// End:
47//
48// EOF
49//
50
51