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 */
6 /////////////////////////////////////////////////
7 // Short description //
9 // Author Dmitri Peressounko RRC KI //
10 // comment: contains pairs (triplets) of //
11 // EMC+PPSD(+PPSD) clusters, and //
12 // evaluates particle type, //
14 /////////////////////////////////////////////////
16 // --- ROOT system ---
21 // --- Standard library ---
23 // --- AliRoot header files ---
25 #include "AliPHOSEmcRecPoint.h"
26 #include "AliPHOSPpsdRecPoint.h"
30 class AliPHOSTrackSegment : public TObject {
34 AliPHOSTrackSegment() {} ; // ctor
35 AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , AliPHOSPpsdRecPoint * PpsdUp,
36 AliPHOSPpsdRecPoint * PpsdLow ) ;
37 virtual ~AliPHOSTrackSegment() ; // dtor
39 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
40 virtual void Draw(Option_t * option="") ;
41 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
42 Int_t GetPartType() ; // Returns 0 - gamma, 1 - e+, e- ; 2 - neutral hadron ; 3 - charged hadron
43 Float_t GetEnergy(){ return fEmcRecPoint->GetTotalEnergy() ;} // Returs energy in EMC
45 Float_t GetDistanceInPHOSPlane(void) ; // computes in PHOS plane the relative position between EMC and PPSD clusters
46 virtual Int_t GetPHOSMod(void) {return fEmcRecPoint->GetPHOSMod(); }
47 Bool_t GetMomentumDirection( TVector3 & dir ) ; // True if determined
48 void GetPosition( TVector3 & pos ) ; // Returns positions of hits
49 virtual void Paint(Option_t * option="");
51 void SetDispersionCutOff(Float_t Dcut) {fCutOnDispersion = Dcut ; }
56 AliPHOSEmcRecPoint * fEmcRecPoint ;
57 AliPHOSPpsdRecPoint * fPpsdLow ;
58 AliPHOSPpsdRecPoint * fPpsdUp ;
60 Float_t fCutOnDispersion ;
64 ClassDef(AliPHOSTrackSegment,1) // description , version 1
68 #endif // AliPHOSSUBTRACK_H