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 // Cluster in the PPSD of PHOS //
10 // Version SUBATECH //
11 // Author Yves Schutz SUBATECH //
12 // comment: its a list of AliPHOSDigit's //
14 ////////////////////////////////////////////////
16 // --- ROOT system ---
18 // --- Standard library ---
20 // --- AliRoot header files ---
22 #include "AliPHOSDigit.h"
23 #include "AliPHOSRecPoint.h"
25 class AliPHOSPpsdRecPoint : public AliPHOSRecPoint {
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
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") ;
45 // AliPHOSPpsdRecPoint& operator = (AliPHOSPpsdRecPoint Clu) ;
49 Float_t fDelta ; // parameter used for sorting
54 ClassDef(AliPHOSPpsdRecPoint,1) // PPSD RecPoint, version 1
58 #endif // AliPHOSPPSDRECPOINT_H