AliPHOSTrackSegment


class description - source file - inheritance tree

class AliPHOSTrackSegment : public TObject


    public:
AliPHOSTrackSegment AliPHOSTrackSegment() AliPHOSTrackSegment AliPHOSTrackSegment(AliPHOSEmcRecPoint* EmcRecPoint, AliPHOSPpsdRecPoint* PpsdUp, AliPHOSPpsdRecPoint* PpsdLow) AliPHOSTrackSegment AliPHOSTrackSegment(const AliPHOSTrackSegment& ts) virtual void ~AliPHOSTrackSegment() TClass* Class() virtual 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 GetDistanceInPHOSPlane() AliPHOSEmcRecPoint* GetEmcRecPoint() const Float_t GetEnergy() TVector3 GetMomentumDirection() virtual Int_t GetPHOSMod() void GetPosition(TVector3& pos) AliPHOSPpsdRecPoint* GetPpsdLow() const AliPHOSPpsdRecPoint* GetPpsdUp() const Int_t* GetPrimariesEmc(Int_t& number) Int_t* GetPrimariesPpsdLow(Int_t& number) Int_t* GetPrimariesPpsdUp(Int_t& number) virtual TClass* IsA() const virtual void Paint(Option_t* option) void Print() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
AliPHOSEmcRecPoint* fEmcRecPoint The EMC reconstructed point AliPHOSPpsdRecPoint* fPpsdLow The PPSD reconstructed point from the lower layer AliPHOSPpsdRecPoint* fPpsdUp The PPSD reconstructed point from the upper layer

Class Description

  Track segment in PHOS
  Can be : 1 EmcRecPoint
           1 EmcRecPoint + 1 PPSD
           1 EmcRecPoint + 1 PPSD + 1 PPSD

*-- Author:  Dmitri Peressounko (RRC KI & SUBATECH)

AliPHOSTrackSegment( AliPHOSEmcRecPoint * emc , AliPHOSPpsdRecPoint * ppsdRP1, AliPHOSPpsdRecPoint * ppsdRP2 )
 ctor

AliPHOSTrackSegment( const AliPHOSTrackSegment & ts)
 Copy ctor

void Copy(TObject & obj)
 Copy of a track segment into another track segment

Int_t DistancetoPrimitive(Int_t px, Int_t py)
 Compute distance from point px,py to  a AliPHOSTrackSegment considered as a Tmarker
 Compute the closest distance of approach from point px,py to this marker.
 The distance is computed in pixels units.

void Draw(Option_t *option)
 Draw this AliPHOSTrackSegment with its current attribute

void ExecuteEvent(Int_t event, Int_t px, Int_t py)
 Execute action corresponding to one event
  This member function is called when a AliPHOSTrackSegment is clicked with the locator

  If Left button is clicked on AliPHOSRecPoint, the digits are switched on
  and switched off when the mouse button is released.

Float_t GetDistanceInPHOSPlane()
 Calculates the distance between the EMC RecPoint and PPSD RecPoint

TVector3 GetMomentumDirection()
 Calculates the momentum direction:
   1. if only a EMC RecPoint, direction is given by IP and this RecPoint
   2. if a EMC RecPoint and one PPSD RecPoint, direction is given by the line through the 2 recpoints
   3. if a EMC RecPoint and two PPSD RecPoints, dirrection is given by the average line through
      the 2 pairs of recpoints
 However because of the poor position resolution of PPSD the direction is always taken as if we were
  in case 1.

Int_t* GetPrimariesEmc(Int_t & number)
 Retrieves the primary particle(s) at the origin of the EMC RecPoint

Int_t* GetPrimariesPpsdLow(Int_t & number)
 Retrieves the primary particle(s) at the origin of the lower PPSD RecPoint

Int_t* GetPrimariesPpsdUp(Int_t & number)
 Retrieves the primary particle(s) at the origin of the upper PPSD  RecPoint

void GetPosition( TVector3 & pos )
 Returns position of the EMC RecPoint

void Paint(Option_t *)
 Paint this ALiPHOSTrackSegment as a TMarker  with its current attributes

void Print()
 Print all information on this track Segment



Inline Functions


         AliPHOSTrackSegment AliPHOSTrackSegment(const AliPHOSTrackSegment& ts)
                     Float_t GetEnergy()
                       Int_t GetPHOSMod()
         AliPHOSEmcRecPoint* GetEmcRecPoint() const
        AliPHOSPpsdRecPoint* GetPpsdLow() const
        AliPHOSPpsdRecPoint* GetPpsdUp() const
                     TClass* Class()
                     TClass* IsA() const
                        void ShowMembers(TMemberInspector& insp, char* parent)
                        void Streamer(TBuffer& b)
                        void ~AliPHOSTrackSegment()


Copyright (c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.