1 #ifndef ALIPHOSSUBTRACK_H
2 #define ALIPHOSSUBTRACK_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 /////////////////////////////////////////////////
9 // Short description //
10 // Version SUBATECH //
11 // Author Dmitri Peressounko RRC KI //
12 // comment: contains pairs (triplets) of //
13 // EMC+PPSD(+PPSD) clusters, and //
14 // evaluates particle type, //
16 /////////////////////////////////////////////////
18 // --- ROOT system ---
23 // --- Standard library ---
25 // --- AliRoot header files ---
27 #include "AliPHOSEmcRecPoint.h"
28 #include "AliPHOSPpsdRecPoint.h"
30 class AliPHOSTrackSegment : public TObject {
34 AliPHOSTrackSegment() {} ; // ctor
35 AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , AliPHOSPpsdRecPoint * PpsdUp,
36 AliPHOSPpsdRecPoint * PpsdLow ) ; // ctor
37 AliPHOSTrackSegment(const AliPHOSTrackSegment & ts) ; // ctor
38 virtual ~AliPHOSTrackSegment() ; // dtor
40 void Copy(TObject & obj) ;
41 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
42 virtual void Draw(Option_t * option="") ;
43 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
44 Float_t GetEnergy(){ return fEmcRecPoint->GetTotalEnergy() ;} // Returns energy in EMC
46 Float_t GetDistanceInPHOSPlane(void) ; // Computes in PHOS plane the relative position between EMC and PPSD clusters
47 virtual Int_t GetPHOSMod(void) {return fEmcRecPoint->GetPHOSMod(); }
48 TVector3 GetMomentumDirection() ; // Returns the momentum direction
49 void GetPosition( TVector3 & pos ) ; // Returns positions of hit
50 AliPHOSEmcRecPoint * GetEmcRecPoint() const { return fEmcRecPoint ; }
51 AliPHOSPpsdRecPoint * GetPpsdLow() const { return fPpsdLow ; }
52 AliPHOSPpsdRecPoint * GetPpsdUp() const { return fPpsdUp ; }
53 virtual void Paint(Option_t * option="");
59 AliPHOSEmcRecPoint * fEmcRecPoint ;
60 AliPHOSPpsdRecPoint * fPpsdLow ;
61 AliPHOSPpsdRecPoint * fPpsdUp ;
64 ClassDef(AliPHOSTrackSegment,1) // description , version 1
68 #endif // AliPHOSSUBTRACK_H