]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSRecPoint.h
cd9e45a4fc8469ce0b875791aec0c4f019afdc14
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecPoint.h
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 //_________________________________________________________________________
7 //  Base Class for PHOS Reconstructed Points  
8 //                  
9 //*-- Author: Gines Martinez (SUBATECH)
10
11 // --- ROOT system ---
12
13 #include "TMarker.h"
14 #include "TGraph.h"
15 #include "TPaveText.h"
16
17 // --- Standard library ---
18
19 // --- AliRoot header files ---
20
21 #include "AliRecPoint.h"
22 #include "AliPHOSDigit.h"
23
24 class AliPHOSRecPoint : public AliRecPoint {
25
26  public:
27
28   AliPHOSRecPoint() ;                   // ctor         
29   AliPHOSRecPoint(const AliPHOSRecPoint & rp) {
30     // cpy ctor requested by Coding Convention 
31     // but not yet needed
32     assert(0==1) ; 
33   } 
34   
35   virtual ~AliPHOSRecPoint(){
36     // dtor
37   }
38   virtual  void   AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ; 
39   virtual Int_t   Compare(TObject * obj) { 
40     // check why this is done
41     assert(0==1) ; return 1 ; 
42   }   
43   virtual Int_t   DistancetoPrimitive(Int_t px, Int_t py);
44   virtual void    Draw(Option_t * option="") ;
45   virtual void    ExecuteEvent(Int_t event, Int_t px, Int_t py) ;
46   virtual Int_t   GetPHOSMod(void) ;
47   virtual Int_t * GetPrimaries(Int_t & number) ;
48   virtual Bool_t  IsEmc(void){
49     // says that this is a EMC
50     return kTRUE ;
51   } 
52   virtual Bool_t  IsSortable() const { 
53     // tells that this is a sortable object
54     return kTRUE ; 
55   }  
56   virtual void    Paint(Option_t * option="");
57   virtual void    Print(Option_t * opt = "void") {
58     // Print prototype
59   } 
60
61   AliPHOSRecPoint & operator = (const AliPHOSRecPoint & rvalue)  {
62     // assignement operator requested by coding convention
63     // but not needed
64     assert(0==1) ;
65     return *this ; 
66   }
67
68  protected:
69   
70   Int_t fPHOSMod ;      // PHOS Module number in which the RecPoint is found
71
72  private:
73   
74   typedef TObjArray RecPointsList ; 
75
76   ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)
77  
78 };
79
80 #endif // AliPHOSRECPOINT_H