1 #ifndef ALIFMDEDEPMAP_H
2 #define ALIFMDEDEPMAP_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 AliFMDEdepHitPair
22 AliFMDEdepHitPair() : fEdep(0), fN(0) {}
25 //____________________________________________________________________
26 class AliFMDEdepMap : public AliFMDMap
29 AliFMDEdepMap(const AliFMDEdepMap& other);
30 AliFMDEdepMap(size_t maxDet = kMaxDetectors,
31 size_t maxRing= kMaxRings,
32 size_t maxSec = kMaxSectors,
33 size_t maxStr = kMaxStrips);
34 virtual ~AliFMDEdepMap() { delete [] fData; }
35 AliFMDEdepMap& operator=(const AliFMDEdepMap& other);
36 virtual void Reset(const AliFMDEdepHitPair& val=AliFMDEdepHitPair());
37 virtual AliFMDEdepHitPair& operator()(UShort_t detector,
41 virtual const AliFMDEdepHitPair& operator()(UShort_t detector,
44 UShort_t strip) const;
46 AliFMDEdepHitPair* fData; // The data
47 ClassDef(AliFMDEdepMap, 1) // Cache of edep,hit information per strip
51 //____________________________________________________________________