]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMDEdepMap.h
Minor fix to env var.
[u/mrichter/AliRoot.git] / FMD / AliFMDEdepMap.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 AliFMDEdepHitPair
18{
baa92757 19public:
e802be3e 20 Float_t fEdep;
21 UShort_t fN;
22 AliFMDEdepHitPair() : fEdep(0), fN(0) {}
23};
24
25//____________________________________________________________________
26class AliFMDEdepMap : public AliFMDMap
27{
28public:
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);
69b696b9 36 virtual void Reset(const AliFMDEdepHitPair& val=AliFMDEdepHitPair());
e802be3e 37 virtual AliFMDEdepHitPair& operator()(UShort_t detector,
38 Char_t ring,
39 UShort_t sector,
40 UShort_t strip);
41 virtual const AliFMDEdepHitPair& operator()(UShort_t detector,
42 Char_t ring,
43 UShort_t sector,
44 UShort_t strip) const;
45protected:
46 AliFMDEdepHitPair* fData; // The data
47 ClassDef(AliFMDEdepMap, 1) // Cache of edep,hit information per strip
48};
49
50#endif
51//____________________________________________________________________
52//
53// Local Variables:
54// mode: C++
55// End:
56//
57// EOF
58//
59
60