]>
Commit | Line | Data |
---|---|---|
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 */ | |
b2a60966 | 5 | //_________________________________________________________________________ |
6 | // Base Class for PHOS Reconstructed Points | |
2f04ed65 | 7 | // A recpoint being equivalent to a cluster in encal terminology |
b2a60966 | 8 | //*-- Author: Gines Martinez (SUBATECH) |
d15a28e7 | 9 | |
ed4205d8 | 10 | #include <assert.h> |
11 | ||
d15a28e7 | 12 | // --- ROOT system --- |
13 | ||
9f616d61 | 14 | #include "TMarker.h" |
15 | #include "TGraph.h" | |
16 | #include "TPaveText.h" | |
17 | ||
d15a28e7 | 18 | // --- Standard library --- |
19 | ||
d15a28e7 | 20 | // --- AliRoot header files --- |
21 | ||
22 | #include "AliRecPoint.h" | |
83974468 | 23 | #include "AliPHOSDigit.h" |
24 | ||
d15a28e7 | 25 | class AliPHOSRecPoint : public AliRecPoint { |
26 | ||
88714635 | 27 | public: |
7609878c | 28 | |
29 | typedef TObjArray RecPointsList ; | |
d15a28e7 | 30 | |
31 | AliPHOSRecPoint() ; // ctor | |
73a68ccb | 32 | AliPHOSRecPoint(const char * opt) ; // ctor |
6c370def | 33 | AliPHOSRecPoint(const AliPHOSRecPoint & rp) { |
34 | // cpy ctor requested by Coding Convention | |
35 | // but not yet needed | |
36 | assert(0==1) ; | |
37 | } | |
38 | ||
88714635 | 39 | virtual ~AliPHOSRecPoint(){ |
40 | // dtor | |
41 | } | |
0a6d52e3 | 42 | virtual void AddDigit(AliDigitNew &){ |
43 | // do not use this definition but the one below | |
44 | assert(0==1) ; | |
45 | } | |
83974468 | 46 | virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ; |
2731cd1e | 47 | virtual Int_t Compare(const TObject * obj) const = 0 ; |
cf239357 | 48 | virtual Int_t DistancetoPrimitive(Int_t px, Int_t py); |
49 | virtual void Draw(Option_t * option="") ; | |
50 | virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ; | |
2731cd1e | 51 | virtual void EvalAll(Float_t logWeight,TClonesArray * digits) ; |
52 | virtual void EvalPHOSMod(AliPHOSDigit * digit) ; | |
53 | virtual void EvalPrimaries(TClonesArray * digits) ; | |
4b45b217 | 54 | virtual void GetGlobalPosition(TVector3 & gpos, TMatrix & gmat) const ; // return global position in ALICE |
ad8cfaf4 | 55 | virtual Int_t GetPHOSMod(void) const {return fPHOSMod ; } |
2731cd1e | 56 | virtual Int_t * GetPrimaries(Int_t & number) const {number = fMulTrack ; |
57 | return fTracksList ; } | |
ad8cfaf4 | 58 | virtual Bool_t IsEmc(void)const { return kTRUE ; } |
88714635 | 59 | virtual Bool_t IsSortable() const { |
60 | // tells that this is a sortable object | |
61 | return kTRUE ; | |
62 | } | |
15605d3c | 63 | virtual void Paint(Option_t * option=""); |
baef0810 | 64 | virtual void Print(Option_t * opt = "void") const { |
88714635 | 65 | // Print prototype |
66 | } | |
d15a28e7 | 67 | |
2f04ed65 | 68 | AliPHOSRecPoint & operator = (const AliPHOSRecPoint & ) { |
baef0810 | 69 | // assignement operator requested by coding convention but not needed |
6c370def | 70 | assert(0==1) ; |
71 | return *this ; | |
72 | } | |
73 | ||
ed4205d8 | 74 | protected: |
9f616d61 | 75 | |
83974468 | 76 | Int_t fPHOSMod ; // PHOS Module number in which the RecPoint is found |
ed4205d8 | 77 | |
b2a60966 | 78 | ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class) |
d15a28e7 | 79 | |
80 | }; | |
81 | ||
82 | #endif // AliPHOSRECPOINT_H |