]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDMultStrip.h
Removing memory leak
[u/mrichter/AliRoot.git] / FMD / AliFMDMultStrip.h
1 #ifndef ALIFMDMULTSTRIP_H
2 #define ALIFMDMULTSTRIP_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
12 class AliFMDMultStrip: public AliFMDMult
13 {
14 public:
15   AliFMDMultStrip();
16   AliFMDMultStrip (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                    UShort_t method);
21   virtual ~AliFMDMultStrip(){};
22
23   UShort_t     Detector() const        { return fDetector; }
24   Char_t       Ring() const            { return fRing; }
25   UShort_t     Sector() const          { return fSector; }
26   UShort_t     Strip() const           { return fStrip; }
27   Float_t      Eta() const             { return fEta; }
28   Float_t      Phi() const             { return fPhi; }
29   Float_t      Edep() const            { return fEdep; }
30   virtual void Print(Option_t* opt="D") const;
31 protected:
32   UShort_t fDetector;        // Detector #
33   Char_t   fRing;            // Ring ID
34   UShort_t fSector;          // Sector #
35   UShort_t fStrip;           // Strip # 
36   Float_t  fEta;             // Eta value 
37   Float_t  fPhi;             // Phi value
38   Float_t  fEdep;            // Energy deposited 
39
40   ClassDef(AliFMDMultStrip,1) // Rec. Multiplicity in a strip
41 };
42 #endif
43 //____________________________________________________________________
44 //
45 // Local Variables:
46 //   mode: C++
47 // End:
48 //
49 // EOF
50 //