Added docs and fixed a bug
[u/mrichter/AliRoot.git] / FMD / AliFMDMultRegion.h
CommitLineData
56b1929b 1#ifndef ALIFMDMULTREGION_H
2#define ALIFMDMULTREGION_H
3
4/* Reconstracted Particles Class: has number of reconstructed
5 * particles in sectors from NumOfMinSector to NumberOfMaxSector()
6 * rings from NumOfMinRing to NumOfMaxRing for each FMDvolume
7 */
8#ifndef ALIFMDMULT_H
9# include "AliFMDMult.h"
10#endif
11
12class AliFMDMultRegion: public AliFMDMult
13{
14public:
15 AliFMDMultRegion();
16 AliFMDMultRegion (UShort_t detector, Char_t ring,
17 UShort_t minSector, UShort_t maxSector,
18 UShort_t minStrip, UShort_t maxStrip,
19 Float_t minEta, Float_t maxEta,
20 Float_t minPhi, Float_t maxPhi,
21 Float_t particles, UShort_t method);
22 virtual ~AliFMDMultRegion(){};
23
24 UShort_t Detector() const { return fDetector; }
25 Char_t Ring() const { return fRing; }
7684b53c 26 Float_t Eta() const;
27 Float_t Phi() const { return (fMaxPhi + fMinPhi) / 2; }
56b1929b 28 UShort_t MinSector() const { return fMinSector; }
29 UShort_t MaxSector() const { return fMaxSector; }
30 UShort_t MinStrip() const { return fMinStrip; }
31 UShort_t MaxStrip() const { return fMaxStrip; }
32 Float_t MinEta() const { return fMinEta; }
33 Float_t MaxEta() const { return fMaxEta; }
34 Float_t MinPhi() const { return fMinPhi; }
35 Float_t MaxPhi() const { return fMaxPhi; }
7684b53c 36 virtual void Print(Option_t* opt="EP") const;
56b1929b 37protected:
38 UShort_t fDetector; // Detector #
39 Char_t fRing; // Ring ID
40 UShort_t fMinSector; // First sector of this region
41 UShort_t fMaxSector; // Last sector of this region
42 UShort_t fMinStrip; // First strip of this region
43 UShort_t fMaxStrip; // Second strip of this region
44 Float_t fMinEta; // Least eta covered
45 Float_t fMaxEta; // Largest eta covered
46 Float_t fMinPhi; // Least phi covered
47 Float_t fMaxPhi; // Largest phi covered
48
49 ClassDef(AliFMDMultRegion,1) // Rec. Multiplicity in a eta,phi region
50};
51#endif
52//____________________________________________________________________
53//
54// Local Variables:
55// mode: C++
56// End:
57//
58// EOF
59//