]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSPpsdRecPoint.h
----------------------------------------------------------------------
[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 ////////////////////////////////////////////////
7 //  Cluster in the PPSD of PHOS               //
8 //  Version SUBATECH                          //
9 //  Author Yves Schutz     SUBATECH           //
10 //      comment: its a list of AliPHOSDigit's //  
11 //                                            //
12 ////////////////////////////////////////////////
13
14 // --- ROOT system ---
15
16 // --- Standard library ---
17
18 // --- AliRoot header files ---
19
20 #include "AliPHOSDigit.h"
21 #include "AliPHOSRecPoint.h"
22
23 class AliPHOSPpsdRecPoint : public AliPHOSRecPoint {
24
25 public:
26
27   AliPHOSPpsdRecPoint() ;          // ctor   
28   virtual ~AliPHOSPpsdRecPoint() ; // dtor
29  void AddDigit(AliDigitNew & digit, Float_t Energy) ;
30   Int_t   Compare(TObject * obj) ;                    // method to sort clusters
31
32   Float_t GetDelta(void) {return fDelta ;}
33   Int_t GetMultiplicity(void) const { return fMulDigit ; } 
34   Int_t GetMaximumMultiplicity() { return   fMaxDigit ; } 
35   void  GetLocalPosition(TVector3 &LPos) ; // computes the position in the module of the cluster center 
36                                            //projection of ALICE axes on PHOS Module, y = 0 .
37   Bool_t GetUp() ;               // true if cluster is in upper ppsd 
38   Bool_t      IsEmc(void) {return kFALSE ; } 
39   Bool_t  IsSortable() const { return kTRUE ; }
40   void Print(Option_t * opt = "void") ; 
41
42   //  AliPHOSPpsdRecPoint&  operator = (AliPHOSPpsdRecPoint Clu) ;
43
44 private:
45
46   Float_t        fDelta ;         // parameter used for sorting
47
48
49 public: 
50   
51   ClassDef(AliPHOSPpsdRecPoint,1)  // PPSD RecPoint, version 1
52
53 };
54
55 #endif // AliPHOSPPSDRECPOINT_H