- 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);
- 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
- virtual Int_t GetPHOSMod(void) {return fEmcRecPoint->GetPHOSMod(); }
- TVector3 GetMomentumDirection() ; // Returns the momentum direction
- void GetPosition( TVector3 & pos ) ; // Returns positions of hit
- AliPHOSEmcRecPoint * GetEmcRecPoint() const { return fEmcRecPoint ; }
- AliPHOSPpsdRecPoint * GetPpsdLow() const { return fPpsdLow ; }
- AliPHOSPpsdRecPoint * GetPpsdUp() const { return fPpsdUp ; }
- virtual void Paint(Option_t * option="");
- void Print() ;
-
-
-private:
-
- AliPHOSEmcRecPoint * fEmcRecPoint ;
- AliPHOSPpsdRecPoint * fPpsdLow ;
- AliPHOSPpsdRecPoint * fPpsdUp ;
+ void SetCpvDistance(Float_t x,Float_t z){fDcpv[0]=x ; fDcpv[1]=z ; }
+
+ void Copy(TObject & obj) const;
+
+ Int_t GetIndexInList() const { return fIndexInList ; }
+ Int_t GetEmcIndex() const { return fEmcRecPoint ; }
+ Int_t GetCpvIndex() const { return fCpvRecPoint; }
+ Int_t GetTrackIndex() const { return fTrack; }
+ Float_t GetCpvDistance(const Option_t* dr="r") const ;
+
+ virtual void Print(const Option_t * = "") const;
+ void SetIndexInList(Int_t val){ fIndexInList = val ; }
+ void SetCpvRecPoint(AliPHOSRecPoint * CpvRecPoint ); //sets CPV Rec Point
+
+ typedef TClonesArray TrackSegmentsList ;
+
+ private: