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 | |
24 | typedef TObjArray RecPointsList ; |
d15a28e7 |
25 | |
d15a28e7 |
26 | class AliPHOSRecPoint : public AliRecPoint { |
27 | |
28 | public: |
29 | |
30 | AliPHOSRecPoint() ; // ctor |
b2a60966 |
31 | virtual ~AliPHOSRecPoint(){} // dtor |
83974468 |
32 | virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ; |
e126816e |
33 | virtual Int_t Compare(TObject * obj) { assert(0==1) ; return 1 ; } |
cf239357 |
34 | virtual Int_t DistancetoPrimitive(Int_t px, Int_t py); |
35 | virtual void Draw(Option_t * option="") ; |
36 | virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ; |
37 | virtual Int_t GetPHOSMod(void) ; |
b2a60966 |
38 | virtual Int_t * GetPrimaries(Int_t & number) ; |
cf239357 |
39 | virtual Bool_t IsEmc(void){return kTRUE ;} |
83974468 |
40 | virtual Bool_t IsSortable() const { return kTRUE ; } |
15605d3c |
41 | virtual void Paint(Option_t * option=""); |
cf239357 |
42 | virtual void Print(Option_t * opt = "void") {} |
d15a28e7 |
43 | |
d15a28e7 |
44 | protected: |
9f616d61 |
45 | |
83974468 |
46 | Int_t fPHOSMod ; // PHOS Module number in which the RecPoint is found |
d15a28e7 |
47 | |
b2a60966 |
48 | ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class) |
d15a28e7 |
49 | |
50 | }; |
51 | |
52 | #endif // AliPHOSRECPOINT_H |