]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDRecPoint.h
New RAW I/O. I rolled my own, because I wasn't happy with the old
[u/mrichter/AliRoot.git] / FMD / AliFMDRecPoint.h
1 #ifndef ALIFMDRECPOINT_H
2 #define ALIFMDRECPOINT_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 ROOT_TObject
9 # include <TObject.h>
10 #endif
11
12 class AliFMDRecPoint: public TObject
13 {
14 public:
15   AliFMDRecPoint();
16   AliFMDRecPoint(UShort_t detector,  Char_t   ring, 
17              UShort_t sector,    UShort_t strip, 
18              Float_t  eta,       Float_t  phi,
19              Float_t  edep,      Float_t  particles);
20   virtual ~AliFMDRecPoint() {};
21
22   UShort_t     Detector() const        { return fDetector; }
23   Char_t       Ring() const            { return fRing; }
24   UShort_t     Sector() const          { return fSector; }
25   UShort_t     Strip() const           { return fStrip; }
26   Float_t      Eta() const             { return fEta; }
27   Float_t      Phi() const             { return fPhi; }
28   Float_t      Edep() const            { return fEdep; }
29   Float_t      Particles() const       { return fParticles; }
30   virtual void Print(Option_t* opt="D") const;
31   const char*  GetName()                const;
32   const char*  GetTitle()               const;
33 protected:
34   UShort_t fDetector;        // Detector #
35   Char_t   fRing;            // Ring ID
36   UShort_t fSector;          // Sector #
37   UShort_t fStrip;           // Strip # 
38   Float_t  fEta;             // Eta value 
39   Float_t  fPhi;             // Phi value
40   Float_t  fEdep;            // Energy deposited 
41   Float_t  fParticles;       // Quasi-number of particles 
42
43   ClassDef(AliFMDRecPoint,1)     // Base class for multiplicity data
44 };
45 #endif
46 //____________________________________________________________________
47 //
48 // Local Variables:
49 //   mode: C++
50 // End:
51 //
52 // EOF
53 //