]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSRecPoint.h
position of the particle initiating the hit in PHOS
[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 //  Base Class for PHOS Reconstructed Points  
7 //  A recpoint being equivalent to a cluster in encal terminology                 
8 //*-- Author: Gines Martinez (SUBATECH)
9
10 #include <assert.h>
11
12 // --- ROOT system ---
13
14 #include "TMarker.h"
15 #include "TGraph.h"
16 #include "TPaveText.h"
17
18 // --- Standard library ---
19
20 // --- AliRoot header files ---
21
22 #include "AliRecPoint.h"
23 #include "AliPHOSDigit.h"
24 #include "AliPHOSGeometry.h"
25 class AliPHOSGeometry;
26
27 class AliPHOSRecPoint : public AliRecPoint {
28
29  public:
30   
31   typedef TObjArray RecPointsList ; 
32
33   AliPHOSRecPoint() ;                   // ctor         
34   AliPHOSRecPoint(const AliPHOSRecPoint & rp) {
35     // cpy ctor requested by Coding Convention 
36     // but not yet needed
37     assert(0==1) ; 
38   } 
39   
40   virtual ~AliPHOSRecPoint(){
41     // dtor
42   }
43   virtual  void   AddDigit(AliDigitNew &){
44     // do not use this definition but the one below
45     assert(0==1) ; 
46   }
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 ; 
51   }   
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
59     return kTRUE ;
60   } 
61   virtual Bool_t  IsSortable() const { 
62     // tells that this is a sortable object
63     return kTRUE ; 
64   }  
65   virtual void    Paint(Option_t * option="");
66   virtual void    Print(Option_t * opt = "void") {
67     // Print prototype
68   } 
69
70   AliPHOSRecPoint & operator = (const AliPHOSRecPoint & )  {
71     // assignement operator requested by coding convention
72     // but not needed
73     assert(0==1) ;
74     return *this ; 
75   }
76
77 protected:
78   
79   Int_t fPHOSMod ;      // PHOS Module number in which the RecPoint is found
80 //    AliPHOSGeometry * fGeom ; // pointer to the PHOS geometry class
81   
82   ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)
83  
84 };
85
86 #endif // AliPHOSRECPOINT_H