d15a28e7 |
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 | |
b2a60966 |
6 | //_________________________________________________________________________ |
7 | // Base Class for PHOS Reconstructed Points |
8 | // |
9 | //*-- Author: Gines Martinez (SUBATECH) |
d15a28e7 |
10 | |
11 | // --- ROOT system --- |
12 | |
9f616d61 |
13 | #include "TMarker.h" |
14 | #include "TGraph.h" |
15 | #include "TPaveText.h" |
16 | |
d15a28e7 |
17 | // --- Standard library --- |
18 | |
d15a28e7 |
19 | // --- AliRoot header files --- |
20 | |
21 | #include "AliRecPoint.h" |
83974468 |
22 | #include "AliPHOSDigit.h" |
23 | |
d15a28e7 |
24 | class AliPHOSRecPoint : public AliRecPoint { |
25 | |
88714635 |
26 | public: |
d15a28e7 |
27 | |
28 | AliPHOSRecPoint() ; // ctor |
88714635 |
29 | virtual ~AliPHOSRecPoint(){ |
30 | // dtor |
31 | } |
83974468 |
32 | virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ; |
88714635 |
33 | virtual Int_t Compare(TObject * obj) { |
34 | // check why this is done |
35 | assert(0==1) ; return 1 ; |
36 | } |
cf239357 |
37 | virtual Int_t DistancetoPrimitive(Int_t px, Int_t py); |
38 | virtual void Draw(Option_t * option="") ; |
39 | virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ; |
40 | virtual Int_t GetPHOSMod(void) ; |
b2a60966 |
41 | virtual Int_t * GetPrimaries(Int_t & number) ; |
88714635 |
42 | virtual Bool_t IsEmc(void){ |
43 | // says that this is a EMC |
44 | return kTRUE ; |
45 | } |
46 | virtual Bool_t IsSortable() const { |
47 | // tells that this is a sortable object |
48 | return kTRUE ; |
49 | } |
15605d3c |
50 | virtual void Paint(Option_t * option=""); |
88714635 |
51 | virtual void Print(Option_t * opt = "void") { |
52 | // Print prototype |
53 | } |
d15a28e7 |
54 | |
88714635 |
55 | protected: |
9f616d61 |
56 | |
83974468 |
57 | Int_t fPHOSMod ; // PHOS Module number in which the RecPoint is found |
d15a28e7 |
58 | |
88714635 |
59 | private: |
60 | |
61 | typedef TObjArray RecPointsList ; |
62 | |
b2a60966 |
63 | ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class) |
d15a28e7 |
64 | |
65 | }; |
66 | |
67 | #endif // AliPHOSRECPOINT_H |