X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PHOS%2FAliPHOSPpsdRecPoint.h;h=1c30ae397e5613a550798dc5b47868107248ded7;hb=88cb7938ca21d4a80991d4e7aa564008c29340f7;hp=540d5c6ddacd3d6ea29f2006e407300a810bd18c;hpb=88714635380b3cd769507e2f5b0583b7214b1e96;p=u%2Fmrichter%2FAliRoot.git diff --git a/PHOS/AliPHOSPpsdRecPoint.h b/PHOS/AliPHOSPpsdRecPoint.h index 540d5c6ddac..1c30ae397e5 100644 --- a/PHOS/AliPHOSPpsdRecPoint.h +++ b/PHOS/AliPHOSPpsdRecPoint.h @@ -8,7 +8,7 @@ //_________________________________________________________________________ // A RecPoint (cluster) in the PPSD // A PPSD RecPoint ends up to be a single digit -// +// Oh yeah //*-- Yves Schutz (SUBATECH) // --- ROOT system --- @@ -24,46 +24,30 @@ class AliPHOSPpsdRecPoint : public AliPHOSRecPoint { public: - AliPHOSPpsdRecPoint() ; // ctor + AliPHOSPpsdRecPoint(); // ctor virtual ~AliPHOSPpsdRecPoint(){ // dtor } virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) ; - Int_t Compare(TObject * obj) ; // method to sort clusters - - Float_t GetDelta(void) { - // returns the parameter used for sorting - return fDelta ; - } - Int_t GetMultiplicity(void) const { - // returns the multiplicity of digits at the origin of this recpoint - return fMulDigit ; - } - Int_t GetMaximumMultiplicity() { - // returns the maximum allowed digit multiplicity - return fMaxDigit ; - } - void GetLocalPosition(TVector3 &LPos) ; // computes the position in the module of the cluster center - Float_t GetTotalEnergy(void) const { - // returns the amplitude for this recpoint - // in Ppsd EMC RecPoint Amp = Energy - return fAmp ; - } - Bool_t GetUp() ; // true if cluster is in upper ppsd - Bool_t IsEmc(void) { - // tells that this is not a EMC - return kFALSE ; - } - Bool_t IsSortable() const { - // tells that this is a sortable object - return kTRUE ; - } + Int_t Compare(const TObject * obj) const; // method to sort clusters + + void EvalAll(Float_t LogWeight,TClonesArray * digits) ; + void EvalLocalPosition(Float_t LogWeight,TClonesArray * digits) ; + // computes the position in the module of the cluster center + void EvalUp(TClonesArray * digits) ; + + Int_t GetMultiplicity(void) const { return fMulDigit ; } // returns the multiplicity of digits at + // the origin of this recpoint + Int_t GetMaximumMultiplicity() const { return fMaxDigit ;} // returns the maximum allowed digit multiplicity + Bool_t GetUp() const {return fUp; } // true if cluster is in upper ppsd + Bool_t IsEmc(void) const {return kFALSE ; } // tells that this is not a EMC + Bool_t IsSortable() const { return kTRUE ; } // tells that this is a sortable object virtual void Paint(Option_t * option=""); - void Print(Option_t * opt = "void") ; + void Print(Option_t * option) ; private: - Float_t fDelta ; // parameter used for sorting + Bool_t fUp ; ClassDef(AliPHOSPpsdRecPoint,1) // PPSD RecPoint