1 #ifndef ALIPHOSRECPOINT_H
2 #define ALIPHOSRECPOINT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5 //_________________________________________________________________________
6 // Base Class for PHOS Reconstructed Points
7 // A recpoint being equivalent to a cluster in encal terminology
8 //*-- Author: Gines Martinez (SUBATECH)
12 // --- ROOT system ---
16 #include "TPaveText.h"
18 // --- Standard library ---
20 // --- AliRoot header files ---
22 #include "AliRecPoint.h"
23 #include "AliPHOSDigit.h"
24 #include "AliPHOSGeometry.h"
25 class AliPHOSGeometry;
27 class AliPHOSRecPoint : public AliRecPoint {
31 typedef TObjArray RecPointsList ;
33 AliPHOSRecPoint() ; // ctor
34 AliPHOSRecPoint(const AliPHOSRecPoint & rp) {
35 // cpy ctor requested by Coding Convention
40 virtual ~AliPHOSRecPoint(){
43 virtual void AddDigit(AliDigitNew &){
44 // do not use this definition but the one below
47 virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ;
48 virtual Int_t Compare(TObject * obj) {
49 // check why this is done
50 assert(0==1) ; return 1 ;
52 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
53 virtual void Draw(Option_t * option="") ;
54 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ;
55 virtual Int_t GetPHOSMod(void) ;
56 virtual Int_t * GetPrimaries(Int_t & number) ;
57 virtual Bool_t IsEmc(void){
58 // says that this is a EMC
61 virtual Bool_t IsSortable() const {
62 // tells that this is a sortable object
65 virtual void Paint(Option_t * option="");
66 virtual void Print(Option_t * opt = "void") {
70 AliPHOSRecPoint & operator = (const AliPHOSRecPoint & ) {
71 // assignement operator requested by coding convention
79 Int_t fPHOSMod ; // PHOS Module number in which the RecPoint is found
80 // AliPHOSGeometry * fGeom ; // pointer to the PHOS geometry class
82 ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)
86 #endif // AliPHOSRECPOINT_H