AliPHOSTrackSegment


class description - source file - inheritance tree

class AliPHOSTrackSegment : public TObject

    private:
protected:
public:
AliPHOSTrackSegment AliPHOSTrackSegment() AliPHOSTrackSegment AliPHOSTrackSegment(AliPHOSEmcRecPoint* EmcRecPoint, AliPHOSPpsdRecPoint* PpsdUp, AliPHOSPpsdRecPoint* PpsdLow) AliPHOSTrackSegment AliPHOSTrackSegment(const AliPHOSTrackSegment& ts) virtual void ~AliPHOSTrackSegment() static 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 Int_t GetEmcRecPointIndex() Float_t GetEnergy() Int_t GetIndexInList() const TVector3 GetMomentumDirection() virtual Int_t GetPHOSMod() void GetPosition(TVector3& pos) AliPHOSPpsdRecPoint* GetPpsdLowRecPoint() const Int_t GetPpsdLowRecPointIndex() AliPHOSPpsdRecPoint* GetPpsdUpRecPoint() const Int_t GetPpsdUpRecPointIndex() 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) virtual void Print(const char*) void SetIndexInList(Int_t val) void SetPpsdUpRecPoint(AliPHOSPpsdRecPoint* PpsdUpRecPoint) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
Int_t fEmcRecPoint The EMC reconstructed point index in array stored in TreeR/PHOSEmcRP Int_t fIndexInList the index of this TrackSegment in the list stored in TreeR (to be set by analysis) Int_t fPpsdLowRecPoint The PPSD reconstructed point from the lower layer index in array stored in TreeR/PHOSPpsdRP Int_t fPpsdUpRecPoint The PPSD reconstructed point from the upper layer index in array stored in TreeR/PHOSPpsdRP protected:
public:

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

AliPHOSEmcRecPoint* GetEmcRecPoint() const
 get the EMC recpoint at the origin of this track

Float_t GetEnergy()
 Returns energy in EMC

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 GetPHOSMod(void)
 Returns the phos module which contains this track

AliPHOSPpsdRecPoint* GetPpsdLowRecPoint() const
 Returns the lower PPSD rec point at the origin of this track

AliPHOSPpsdRecPoint* GetPpsdUpRecPoint() const
 Returns the lower PPSD rec point at the origin of this track

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(const char * opt)
 Print all information on this track Segment

void SetPpsdUpRecPoint(AliPHOSPpsdRecPoint * PpsdUpRecPoint)



Inline Functions


        AliPHOSTrackSegment AliPHOSTrackSegment(const AliPHOSTrackSegment& ts)
                      Int_t GetIndexInList() const
                      Int_t GetEmcRecPointIndex()
                      Int_t GetPpsdLowRecPointIndex()
                      Int_t GetPpsdUpRecPointIndex()
                       void SetIndexInList(Int_t val)
                    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.