1 #ifndef ALIFMDUSHORTMAP_H
2 #define ALIFMDUSHORTMAP_H
3 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights
6 * See cxx source for full Copyright notice
9 # include "AliFMDMap.h"
11 //____________________________________________________________________
13 // Cache of Energy deposited, hit information perr strip
16 //____________________________________________________________________
17 class AliFMDUShortMap : public AliFMDMap
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 Reset(const UShort_t& val=UShort_t());
28 virtual UShort_t& operator()(UShort_t detector,
32 virtual const UShort_t& operator()(UShort_t detector,
35 UShort_t strip) const;
37 UShort_t* fData; // The data
38 ClassDef(AliFMDUShortMap, 1) // Cache of edep,hit information per strip
42 //____________________________________________________________________