]>
Commit | Line | Data |
---|---|---|
d15a28e7 | 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 | ||
6ad0bfa0 | 6 | /* $Id$ */ |
7 | ||
b2a60966 | 8 | //_________________________________________________________________________ |
9 | // A RecPoint (cluster) in the PPSD | |
10 | // A PPSD RecPoint ends up to be a single digit | |
2f04ed65 | 11 | // Oh yeah |
b2a60966 | 12 | //*-- Yves Schutz (SUBATECH) |
d15a28e7 | 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 | ||
b2a60966 | 27 | AliPHOSPpsdRecPoint() ; // ctor |
88714635 | 28 | virtual ~AliPHOSPpsdRecPoint(){ |
29 | // dtor | |
30 | } | |
83974468 | 31 | virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) ; |
2a941f4e | 32 | Int_t Compare(const TObject * obj) const; // method to sort clusters |
2731cd1e | 33 | |
34 | void EvalAll(Float_t LogWeight,TClonesArray * digits) ; | |
35 | void EvalLocalPosition(Float_t LogWeight,TClonesArray * digits) ; | |
36 | // computes the position in the module of the cluster center | |
37 | void EvalUp(TClonesArray * digits) ; | |
38 | ||
39 | Int_t GetMultiplicity(void) const { return fMulDigit ; } // returns the multiplicity of digits at | |
40 | // the origin of this recpoint | |
41 | Int_t GetMaximumMultiplicity() const { return fMaxDigit ;} // returns the maximum allowed digit multiplicity | |
42 | Bool_t GetUp() const {return fUp; } // true if cluster is in upper ppsd | |
43 | Bool_t IsEmc(void) const {return kFALSE ; } // tells that this is not a EMC | |
44 | Bool_t IsSortable() const { return kTRUE ; } // tells that this is a sortable object | |
9f616d61 | 45 | virtual void Paint(Option_t * option=""); |
2731cd1e | 46 | void Print(Option_t * option) ; |
d15a28e7 | 47 | |
d15a28e7 | 48 | private: |
49 | ||
2731cd1e | 50 | Bool_t fUp ; |
d15a28e7 | 51 | |
b2a60966 | 52 | ClassDef(AliPHOSPpsdRecPoint,1) // PPSD RecPoint |
d15a28e7 | 53 | |
54 | }; | |
55 | ||
56 | #endif // AliPHOSPPSDRECPOINT_H |