]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSPpsdRecPoint.h
New AliSTARThit
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPpsdRecPoint.h
CommitLineData
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
11//
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
23class AliPHOSPpsdRecPoint : public AliPHOSRecPoint {
24
25public:
26
b2a60966 27 AliPHOSPpsdRecPoint() ; // ctor
28 virtual ~AliPHOSPpsdRecPoint(){} // dtor
29
83974468 30 virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) ;
d15a28e7 31 Int_t Compare(TObject * obj) ; // method to sort clusters
32
33 Float_t GetDelta(void) {return fDelta ;}
6ad0bfa0 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
b2a60966 37 Float_t GetTotalEnergy(void) const { return fAmp ; } // in Ppsd EMC RecPoint Amp = Energy
6ad0bfa0 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 ; }
9f616d61 41 virtual void Paint(Option_t * option="");
6ad0bfa0 42 void Print(Option_t * opt = "void") ;
d15a28e7 43
d15a28e7 44private:
45
46 Float_t fDelta ; // parameter used for sorting
d15a28e7 47
b2a60966 48 ClassDef(AliPHOSPpsdRecPoint,1) // PPSD RecPoint
d15a28e7 49
50};
51
52#endif // AliPHOSPPSDRECPOINT_H