]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSPpsdRecPoint.h
New classes: AliPHOSRecParticle, AliPHOSParticleGuesser, AliPHOSAnalyze
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPpsdRecPoint.h
1 #ifndef ALIPHOSPPSDRECPOINT_H
2 #define ALIPHOSPPSDRECPOINT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 ////////////////////////////////////////////////
9 //  Cluster in the PPSD of PHOS               //
10 //  Version SUBATECH                          //
11 //  Author Yves Schutz     SUBATECH           //
12 //      comment: its a list of AliPHOSDigit's //  
13 //                                            //
14 ////////////////////////////////////////////////
15
16 // --- ROOT system ---
17
18 // --- Standard library ---
19
20 // --- AliRoot header files ---
21
22 #include "AliPHOSDigit.h"
23 #include "AliPHOSRecPoint.h"
24
25 class AliPHOSPpsdRecPoint : public AliPHOSRecPoint {
26
27 public:
28
29   AliPHOSPpsdRecPoint() ;          // ctor   
30   virtual ~AliPHOSPpsdRecPoint() ; // dtor
31  void AddDigit(AliDigitNew & digit, Float_t Energy) ;
32   Int_t   Compare(TObject * obj) ;                    // method to sort clusters
33
34   Float_t GetDelta(void) {return fDelta ;}
35   Int_t   GetMultiplicity(void) const { return fMulDigit ; } 
36   Int_t   GetMaximumMultiplicity() { return   fMaxDigit ; } 
37   void    GetLocalPosition(TVector3 &LPos) ; // computes the position in the module of the cluster center 
38   Float_t GetTotalEnergy(void) const { return fAmp ; }    // in Ppsd EMC RecPoint Amp = Energy                                        //projection of ALICE axes on PHOS Module, y = 0 .
39   Bool_t  GetUp() ;               // true if cluster is in upper ppsd 
40   Bool_t  IsEmc(void) {return kFALSE ; } 
41   Bool_t  IsSortable() const { return kTRUE ; }
42   virtual void  Paint(Option_t * option="");
43   void    Print(Option_t * opt = "void") ; 
44
45   //  AliPHOSPpsdRecPoint&  operator = (AliPHOSPpsdRecPoint Clu) ;
46
47 private:
48
49   Float_t        fDelta ;         // parameter used for sorting
50
51
52 public: 
53   
54   ClassDef(AliPHOSPpsdRecPoint,1)  // PPSD RecPoint, version 1
55
56 };
57
58 #endif // AliPHOSPPSDRECPOINT_H