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)
11 // --- ROOT system ---
15 #include "TPaveText.h"
17 // --- Standard library ---
19 // --- AliRoot header files ---
21 #include "AliRecPoint.h"
22 #include "AliPHOSDigit.h"
24 class AliPHOSRecPoint : public AliRecPoint {
28 typedef TObjArray RecPointsList ;
30 AliPHOSRecPoint() ; // ctor
31 AliPHOSRecPoint(const AliPHOSRecPoint & rp) {
32 // cpy ctor requested by Coding Convention
37 virtual ~AliPHOSRecPoint(){
40 virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ;
41 virtual Int_t Compare(TObject * obj) {
42 // check why this is done
43 assert(0==1) ; return 1 ;
45 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
46 virtual void Draw(Option_t * option="") ;
47 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ;
48 virtual Int_t GetPHOSMod(void) ;
49 virtual Int_t * GetPrimaries(Int_t & number) ;
50 virtual Bool_t IsEmc(void){
51 // says that this is a EMC
54 virtual Bool_t IsSortable() const {
55 // tells that this is a sortable object
58 virtual void Paint(Option_t * option="");
59 virtual void Print(Option_t * opt = "void") {
63 AliPHOSRecPoint & operator = (const AliPHOSRecPoint & rvalue) {
64 // assignement operator requested by coding convention
72 Int_t fPHOSMod ; // PHOS Module number in which the RecPoint is found
75 ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)
79 #endif // AliPHOSRECPOINT_H