Fixes, and extra debug
[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,
a3537838 19 Float_t minEta, Float_t maxEta,
20 Float_t meanEta,
56b1929b 21 Float_t minPhi, Float_t maxPhi,
22 Float_t particles, UShort_t method);
23 virtual ~AliFMDMultRegion(){};
24
25 UShort_t Detector() const { return fDetector; }
26 Char_t Ring() const { return fRing; }
a3537838 27 Float_t Eta() const { return fMeanEta; }
7684b53c 28 Float_t Phi() const { return (fMaxPhi + fMinPhi) / 2; }
56b1929b 29 UShort_t MinSector() const { return fMinSector; }
30 UShort_t MaxSector() const { return fMaxSector; }
31 UShort_t MinStrip() const { return fMinStrip; }
32 UShort_t MaxStrip() const { return fMaxStrip; }
33 Float_t MinEta() const { return fMinEta; }
34 Float_t MaxEta() const { return fMaxEta; }
35 Float_t MinPhi() const { return fMinPhi; }
36 Float_t MaxPhi() const { return fMaxPhi; }
7684b53c 37 virtual void Print(Option_t* opt="EP") const;
56b1929b 38protected:
39 UShort_t fDetector; // Detector #
40 Char_t fRing; // Ring ID
a3537838 41 UShort_t fMinSector; // !First sector of this region
42 UShort_t fMaxSector; // !Last sector of this region
43 UShort_t fMinStrip; // !First strip of this region
44 UShort_t fMaxStrip; // !Second strip of this region
56b1929b 45 Float_t fMinEta; // Least eta covered
46 Float_t fMaxEta; // Largest eta covered
a3537838 47 Float_t fMeanEta; // Scaled average Eta in the region
56b1929b 48 Float_t fMinPhi; // Least phi covered
49 Float_t fMaxPhi; // Largest phi covered
50
a3537838 51 ClassDef(AliFMDMultRegion,2) // Rec. Multiplicity in a eta,phi region
56b1929b 52};
53#endif
54//____________________________________________________________________
55//
56// Local Variables:
57// mode: C++
58// End:
59//
60// EOF
61//