]>
Commit | Line | Data |
---|---|---|
29c81279 | 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 | // A RecPoint (cluster) in the PPSD | |
10 | // A PPSD RecPoint ends up to be a single digit | |
11 | // | |
12 | //*-- Yves Schutz (SUBATECH) | |
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 | ||
30 | void AddDigit(AliDigitNew & digit, Float_t Energy) ; | |
31 | Int_t Compare(TObject * obj) ; // method to sort clusters | |
32 | ||
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") ; | |
43 | ||
44 | private: | |
45 | ||
46 | Float_t fDelta ; // parameter used for sorting | |
47 | ||
48 | ClassDef(AliPHOSPpsdRecPoint,1) // PPSD RecPoint | |
49 | ||
50 | }; | |
51 | ||
52 | #endif // AliPHOSPPSDRECPOINT_H |