]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSRecPoint.h
a few modifications to satisty aCC
[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   typedef TObjArray RecPointsList ; 
29
30   AliPHOSRecPoint() ;                   // ctor         
31   AliPHOSRecPoint(const AliPHOSRecPoint & rp) {
32     // cpy ctor requested by Coding Convention 
33     // but not yet needed
34     assert(0==1) ; 
35   } 
36   
37   virtual ~AliPHOSRecPoint(){
38     // dtor
39   }
40   virtual  void   AddDigit(AliDigitNew &){
41     // do not use this definition but the one below
42     assert(0==1) ; 
43   }
44   virtual  void   AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ; 
45   virtual Int_t   Compare(TObject * obj) { 
46     // check why this is done
47     assert(0==1) ; return 1 ; 
48   }   
49   virtual Int_t   DistancetoPrimitive(Int_t px, Int_t py);
50   virtual void    Draw(Option_t * option="") ;
51   virtual void    ExecuteEvent(Int_t event, Int_t px, Int_t py) ;
52   virtual Int_t   GetPHOSMod(void) ;
53   virtual Int_t * GetPrimaries(Int_t & number) ;
54   virtual Bool_t  IsEmc(void){
55     // says that this is a EMC
56     return kTRUE ;
57   } 
58   virtual Bool_t  IsSortable() const { 
59     // tells that this is a sortable object
60     return kTRUE ; 
61   }  
62   virtual void    Paint(Option_t * option="");
63   virtual void    Print(Option_t * opt = "void") {
64     // Print prototype
65   } 
66
67   AliPHOSRecPoint & operator = (const AliPHOSRecPoint & rvalue)  {
68     // assignement operator requested by coding convention
69     // but not needed
70     assert(0==1) ;
71     return *this ; 
72   }
73
74  protected:
75   
76   Int_t fPHOSMod ;      // PHOS Module number in which the RecPoint is found
77
78
79   ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)
80  
81 };
82
83 #endif // AliPHOSRECPOINT_H