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 */
8 //_________________________________________________________________________
9 // A RecPoint (cluster) in the PPSD
10 // A PPSD RecPoint ends up to be a single digit
12 //*-- Yves Schutz (SUBATECH)
14 // --- ROOT system ---
16 // --- Standard library ---
18 // --- AliRoot header files ---
20 #include "AliPHOSDigit.h"
21 #include "AliPHOSRecPoint.h"
23 class AliPHOSPpsdRecPoint : public AliPHOSRecPoint {
27 AliPHOSPpsdRecPoint() ; // ctor
28 virtual ~AliPHOSPpsdRecPoint(){} // dtor
30 virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) ;
31 Int_t Compare(TObject * obj) ; // method to sort clusters
33 Float_t GetDelta(void) {return fDelta ;}
34 Int_t GetMultiplicity(void) const { return fMulDigit ; }
35 Int_t GetMaximumMultiplicity() { return fMaxDigit ; }
36 void GetLocalPosition(TVector3 &LPos) ; // computes the position in the module of the cluster center
37 Float_t GetTotalEnergy(void) const { return fAmp ; } // in Ppsd EMC RecPoint Amp = Energy
38 Bool_t GetUp() ; // true if cluster is in upper ppsd
39 Bool_t IsEmc(void) {return kFALSE ; }
40 Bool_t IsSortable() const { return kTRUE ; }
41 virtual void Paint(Option_t * option="");
42 void Print(Option_t * opt = "void") ;
46 Float_t fDelta ; // parameter used for sorting
48 ClassDef(AliPHOSPpsdRecPoint,1) // PPSD RecPoint
52 #endif // AliPHOSPPSDRECPOINT_H