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