]>
Commit | Line | Data |
---|---|---|
ac07a8f5 | 1 | #ifndef ALIESDFMD_H |
2 | #define ALIESDFMD_H | |
9da38871 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights |
4 | * reserved. | |
5 | * | |
6 | * See cxx source for full Copyright notice | |
7 | */ | |
8 | //___________________________________________________________________ | |
9 | // | |
10 | // AliESDFMD is the Event Summary Data entry for the FMD. It contains | |
11 | // a rough estimate of the charged particle multiplicity in each strip | |
12 | // of the FMD. It also contains the psuedo-rapidity of each strip. | |
13 | // This is important, as it varies from event to event, due to a | |
14 | // finite interaction point probability distribution. | |
15 | // | |
16 | #ifndef ROOT_TObject | |
17 | # include <TObject.h> | |
18 | #endif | |
19 | #ifndef ALIFMDFLOATMAP_H | |
20 | # include <AliFMDFloatMap.h> | |
21 | #endif | |
22 | ||
23 | //___________________________________________________________________ | |
24 | class AliESDFMD : public TObject | |
25 | { | |
26 | public: | |
27 | AliESDFMD(); | |
28 | AliESDFMD(const AliESDFMD& other); | |
29 | AliESDFMD& operator=(const AliESDFMD& other); | |
30 | virtual ~AliESDFMD() {} | |
31 | ||
32 | void Clear(Option_t *option=""); | |
33 | Float_t Multiplicity(UShort_t detector, Char_t ring, | |
34 | UShort_t sector, UShort_t strip) const; | |
35 | Float_t Eta(UShort_t detector, Char_t ring, | |
36 | UShort_t sector, UShort_t strip) const; | |
37 | void SetMultiplicity(UShort_t detector, Char_t ring, | |
38 | UShort_t sector, UShort_t strip, | |
39 | Float_t mult); | |
40 | void SetEta(UShort_t detector, Char_t ring, | |
41 | UShort_t sector, UShort_t strip, | |
42 | Float_t mult); | |
43 | ||
ac07a8f5 | 44 | size_t MaxDetectors() const { return fMultiplicity.MaxDetectors(); } |
45 | size_t MaxRings() const { return fMultiplicity.MaxRings(); } | |
46 | size_t MaxSectors() const { return fMultiplicity.MaxSectors(); } | |
47 | size_t MaxStrips() const { return fMultiplicity.MaxStrips(); } | |
9da38871 | 48 | void Print(Option_t* option="") const; |
49 | enum { | |
50 | kInvalidMult = 1000 | |
51 | }; | |
52 | enum { | |
53 | kInvalidEta = 1000 | |
54 | }; | |
55 | protected: | |
56 | AliFMDFloatMap fMultiplicity; | |
57 | AliFMDFloatMap fEta; | |
58 | ||
59 | ClassDef(AliESDFMD,1) // ESD info from FMD | |
60 | }; | |
61 | #endif | |
62 | //____________________________________________________________________ | |
63 | // | |
64 | // Local Variables: | |
65 | // mode: C++ | |
66 | // End: | |
67 | // | |
68 | // EOF | |
69 | // |