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 */
6 //_________________________________________________________________________
7 // Base Class for PHOS Reconstructed Points
9 //*-- Author: Gines Martinez (SUBATECH)
13 // --- ROOT system ---
17 #include "TPaveText.h"
19 // --- Standard library ---
21 // --- AliRoot header files ---
23 #include "AliRecPoint.h"
24 #include "AliPHOSDigit.h"
25 #include "AliPHOSGeometry.h"
26 class AliPHOSGeometry;
28 class AliPHOSRecPoint : public AliRecPoint {
32 typedef TObjArray RecPointsList ;
34 AliPHOSRecPoint() ; // ctor
35 AliPHOSRecPoint(const AliPHOSRecPoint & rp) {
36 // cpy ctor requested by Coding Convention
41 virtual ~AliPHOSRecPoint(){
44 virtual void AddDigit(AliDigitNew &){
45 // do not use this definition but the one below
48 virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ;
49 virtual Int_t Compare(TObject * obj) {
50 // check why this is done
51 assert(0==1) ; return 1 ;
53 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
54 virtual void Draw(Option_t * option="") ;
55 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ;
56 virtual Int_t GetPHOSMod(void) ;
57 virtual Int_t * GetPrimaries(Int_t & number) ;
58 virtual Bool_t IsEmc(void){
59 // says that this is a EMC
62 virtual Bool_t IsSortable() const {
63 // tells that this is a sortable object
66 virtual void Paint(Option_t * option="");
67 virtual void Print(Option_t * opt = "void") {
71 AliPHOSRecPoint & operator = (const AliPHOSRecPoint & rvalue) {
72 // assignement operator requested by coding convention
80 Int_t fPHOSMod ; // PHOS Module number in which the RecPoint is found
81 // AliPHOSGeometry * fGeom ; // pointer to the PHOS geometry class
83 ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)
87 #endif // AliPHOSRECPOINT_H