/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
+/* $Id$ */
+
/////////////////////////////////////////////////
// Short description //
// Version SUBATECH //
#include "AliPHOSEmcRecPoint.h"
#include "AliPHOSPpsdRecPoint.h"
-
+const static Int_t GAMMA = 0 ;
+const static Int_t ELECTRON = 1 ;
+const static Int_t NEUTRAL = 2 ;
+const static Int_t CHARGEDHADRON = 3 ;
class AliPHOSTrackSegment : public TObject {
public:
- AliPHOSTrackSegment() {} ; // ctor
+ AliPHOSTrackSegment() {} ; // ctor
AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , AliPHOSPpsdRecPoint * PpsdUp,
- AliPHOSPpsdRecPoint * PpsdLow ) ;
+ AliPHOSPpsdRecPoint * PpsdLow ) ; // ctor
+ AliPHOSTrackSegment(const AliPHOSTrackSegment & ts) ; // ctor
virtual ~AliPHOSTrackSegment() ; // dtor
+ void Copy(TObject & obj) ;
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
virtual void Draw(Option_t * option="") ;
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
- Int_t GetPartType() ; // Returns 0 - gamma, 1 - e+, e- ; 2 - neutral hadron ; 3 - charged hadron
- Float_t GetEnergy(){ return fEmcRecPoint->GetTotalEnergy() ;} // Returs energy in EMC
+ Int_t GetPartType() ; // Returns 0 - gamma, 1 - e+, e- ; 2 - neutral hadron ; 3 - charged hadron
+ Float_t GetEnergy(){ return fEmcRecPoint->GetTotalEnergy() ;} // Returns energy in EMC
- Float_t GetDistanceInPHOSPlane(void) ; // computes in PHOS plane the relative position between EMC and PPSD clusters
+ Float_t GetDistanceInPHOSPlane(void) ; // Computes in PHOS plane the relative position between EMC and PPSD clusters
virtual Int_t GetPHOSMod(void) {return fEmcRecPoint->GetPHOSMod(); }
- Bool_t GetMomentumDirection( TVector3 & dir ) ; // True if determined
- void GetPosition( TVector3 & pos ) ; // Returns positions of hits
+ TVector3 GetMomentumDirection() ; // Returns the momentum direction
+ void GetPosition( TVector3 & pos ) ; // Returns positions of hit
virtual void Paint(Option_t * option="");
void Print() ;
void SetDispersionCutOff(Float_t Dcut) {fCutOnDispersion = Dcut ; }