coding convention
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecPoint.h
CommitLineData
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
10// --- ROOT system ---
11
e957fea8 12//#include "TMarker.h"
13//#include "TGraph.h"
14//#include "TPaveText.h"
15 class TClonesArray ;
d15a28e7 16// --- Standard library ---
17
d15a28e7 18// --- AliRoot header files ---
19
20#include "AliRecPoint.h"
e957fea8 21class AliPHOSDigit ;
83974468 22
d15a28e7 23class AliPHOSRecPoint : public AliRecPoint {
24
88714635 25 public:
7609878c 26
27 typedef TObjArray RecPointsList ;
d15a28e7 28
29 AliPHOSRecPoint() ; // ctor
73a68ccb 30 AliPHOSRecPoint(const char * opt) ; // ctor
a8c47ab6 31 AliPHOSRecPoint(const AliPHOSRecPoint & rp) : AliRecPoint(rp) {
e957fea8 32 Fatal("Cpy ctor", "not implemented") ; }
6c370def 33
88714635 34 virtual ~AliPHOSRecPoint(){
35 // dtor
36 }
0a6d52e3 37 virtual void AddDigit(AliDigitNew &){
e957fea8 38 Fatal("AddDigit", "use AddDigit(AliPHOSDigit & digit, Float_t Energy)") ;
0a6d52e3 39 }
83974468 40 virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ;
2731cd1e 41 virtual Int_t Compare(const TObject * obj) const = 0 ;
cf239357 42 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
43 virtual void Draw(Option_t * option="") ;
88cb7938 44 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ;
e957fea8 45 virtual void EvalAll(TClonesArray * digits) ;
2731cd1e 46 virtual void EvalPHOSMod(AliPHOSDigit * digit) ;
47 virtual void EvalPrimaries(TClonesArray * digits) ;
4b45b217 48 virtual void GetGlobalPosition(TVector3 & gpos, TMatrix & gmat) const ; // return global position in ALICE
ad8cfaf4 49 virtual Int_t GetPHOSMod(void) const {return fPHOSMod ; }
2731cd1e 50 virtual Int_t * GetPrimaries(Int_t & number) const {number = fMulTrack ;
51 return fTracksList ; }
ad8cfaf4 52 virtual Bool_t IsEmc(void)const { return kTRUE ; }
88714635 53 virtual Bool_t IsSortable() const {
54 // tells that this is a sortable object
55 return kTRUE ;
56 }
15605d3c 57 virtual void Paint(Option_t * option="");
a8c47ab6 58 virtual void Print(Option_t *) const {
88714635 59 // Print prototype
60 }
d15a28e7 61
88cb7938 62 AliPHOSRecPoint & operator = (const AliPHOSRecPoint & ) {
e957fea8 63 Fatal("operator = ", "not implemented") ; return *this ;
88cb7938 64 }
ed4205d8 65protected:
9f616d61 66
83974468 67 Int_t fPHOSMod ; // PHOS Module number in which the RecPoint is found
ed4205d8 68
b2a60966 69 ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)
d15a28e7 70
71};
72
73#endif // AliPHOSRECPOINT_H