]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSPpsdRecPoint.h
AliPHOSDigit has its own streamer
[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
d15a28e7 8////////////////////////////////////////////////
9// Cluster in the PPSD of PHOS //
10// Version SUBATECH //
11// Author Yves Schutz SUBATECH //
12// comment: its a list of AliPHOSDigit's //
13// //
14////////////////////////////////////////////////
15
16// --- ROOT system ---
17
18// --- Standard library ---
19
20// --- AliRoot header files ---
21
22#include "AliPHOSDigit.h"
23#include "AliPHOSRecPoint.h"
24
25class AliPHOSPpsdRecPoint : public AliPHOSRecPoint {
26
27public:
28
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
33
34 Float_t GetDelta(void) {return fDelta ;}
6ad0bfa0 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 ; }
9f616d61 42 virtual void Paint(Option_t * option="");
6ad0bfa0 43 void Print(Option_t * opt = "void") ;
d15a28e7 44
45 // AliPHOSPpsdRecPoint& operator = (AliPHOSPpsdRecPoint Clu) ;
46
47private:
48
49 Float_t fDelta ; // parameter used for sorting
d15a28e7 50
51 ClassDef(AliPHOSPpsdRecPoint,1) // PPSD RecPoint, version 1
52
53};
54
55#endif // AliPHOSPPSDRECPOINT_H