Access to the headers from RAW
[u/mrichter/AliRoot.git] / FMD / AliFMDUShortMap.h
CommitLineData
8f6ee336 1#ifndef ALIFMDUSHORTMAP_H
2#define ALIFMDUSHORTMAP_H
e802be3e 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);
6e9e7c0a 27 virtual void Reset(const UShort_t& val=UShort_t());
e802be3e 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:
bfdc7f5d 37 size_t fTotal; // Total number of entries
38 UShort_t* fData; // [fTotal] The data
39 ClassDef(AliFMDUShortMap, 2) // Cache of edep,hit information per strip
e802be3e 40};
41
42#endif
43//____________________________________________________________________
44//
45// Local Variables:
46// mode: C++
47// End:
48//
49// EOF
50//
51
52