PandaRoot
PndSciTPoint Class Reference

#include <PndSciTPoint.h>

Inheritance diagram for PndSciTPoint:

Public Member Functions

 PndSciTPoint ()
 
 PndSciTPoint (Int_t eventID, Int_t trackID, Int_t detectorID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss)
 
 PndSciTPoint (const PndSciTPoint &point)
 
virtual ~PndSciTPoint ()
 
TString GetDetName () const
 
Double_t GetXout () const
 
Double_t GetYout () const
 
Double_t GetZout () const
 
Double_t GetPxout () const
 
Double_t GetPyout () const
 
Double_t GetPzout () const
 
void PositionOut (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
void SetPositionOut (const TVector3 &pos)
 
void SetMomentumOut (const TVector3 &mom)
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

TString fDetName
 
Double_t fXout
 
Double_t fYout
 
Double_t fZout
 
Double_t fPxout
 
Double_t fPyout
 
Double_t fPzout
 

Detailed Description

Definition at line 17 of file PndSciTPoint.h.

Constructor & Destructor Documentation

◆ PndSciTPoint() [1/3]

PndSciTPoint::PndSciTPoint ( )

◆ PndSciTPoint() [2/3]

PndSciTPoint::PndSciTPoint ( Int_t  eventID,
Int_t  trackID,
Int_t  detectorID,
TString  detName,
TVector3  posin,
TVector3  momin,
TVector3  posout,
TVector3  momout,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

◆ PndSciTPoint() [3/3]

PndSciTPoint::PndSciTPoint ( const PndSciTPoint point)
inline

Definition at line 27 of file PndSciTPoint.h.

References ~PndSciTPoint().

28  : FairMCPoint(point), fDetName(point.fDetName), fXout(point.fXout), fYout(point.fYout), fZout(point.fZout), fPxout(point.fPxout), fPyout(point.fPyout), fPzout(point.fPzout)
29  {
30  *this = point;
31  };
Double_t fPxout
Definition: PndSciTPoint.h:62
Double_t fXout
Definition: PndSciTPoint.h:61
TString fDetName
Definition: PndSciTPoint.h:59
Double_t fPzout
Definition: PndSciTPoint.h:62
Double_t fPyout
Definition: PndSciTPoint.h:62
Double_t fZout
Definition: PndSciTPoint.h:61
Double_t fYout
Definition: PndSciTPoint.h:61

◆ ~PndSciTPoint()

virtual PndSciTPoint::~PndSciTPoint ( )
virtual

Referenced by PndSciTPoint().

Member Function Documentation

◆ GetDetName()

TString PndSciTPoint::GetDetName ( ) const
inline

Definition at line 38 of file PndSciTPoint.h.

References fDetName.

38 { return fDetName; };
TString fDetName
Definition: PndSciTPoint.h:59

◆ GetPxout()

Double_t PndSciTPoint::GetPxout ( ) const
inline

Definition at line 43 of file PndSciTPoint.h.

References fPxout.

43 { return fPxout; };
Double_t fPxout
Definition: PndSciTPoint.h:62

◆ GetPyout()

Double_t PndSciTPoint::GetPyout ( ) const
inline

Definition at line 44 of file PndSciTPoint.h.

References fPyout.

44 { return fPyout; };
Double_t fPyout
Definition: PndSciTPoint.h:62

◆ GetPzout()

Double_t PndSciTPoint::GetPzout ( ) const
inline

Definition at line 45 of file PndSciTPoint.h.

References fPzout.

45 { return fPzout; };
Double_t fPzout
Definition: PndSciTPoint.h:62

◆ GetXout()

Double_t PndSciTPoint::GetXout ( ) const
inline

Definition at line 40 of file PndSciTPoint.h.

References fXout.

40 { return fXout; };
Double_t fXout
Definition: PndSciTPoint.h:61

◆ GetYout()

Double_t PndSciTPoint::GetYout ( ) const
inline

Definition at line 41 of file PndSciTPoint.h.

References fYout.

41 { return fYout; };
Double_t fYout
Definition: PndSciTPoint.h:61

◆ GetZout()

Double_t PndSciTPoint::GetZout ( ) const
inline

Definition at line 42 of file PndSciTPoint.h.

References fZout.

42 { return fZout; };
Double_t fZout
Definition: PndSciTPoint.h:61

◆ MomentumOut()

void PndSciTPoint::MomentumOut ( TVector3 &  mom)
inline

Definition at line 48 of file PndSciTPoint.h.

References fPxout, fPyout, fPzout, Print(), SetMomentumOut(), and SetPositionOut().

48 { mom.SetXYZ(fPxout, fPyout, fPzout); };
Double_t fPxout
Definition: PndSciTPoint.h:62
Double_t fPzout
Definition: PndSciTPoint.h:62
Double_t fPyout
Definition: PndSciTPoint.h:62

◆ PositionOut()

void PndSciTPoint::PositionOut ( TVector3 &  pos)
inline

Definition at line 47 of file PndSciTPoint.h.

References fXout, fYout, and fZout.

47 { pos.SetXYZ(fXout, fYout, fZout); };
Double_t fXout
Definition: PndSciTPoint.h:61
Double_t fZout
Definition: PndSciTPoint.h:61
Double_t fYout
Definition: PndSciTPoint.h:61

◆ Print()

virtual void PndSciTPoint::Print ( const Option_t *  opt) const
virtual

Output to screen

Referenced by MomentumOut().

◆ SetMomentumOut()

void PndSciTPoint::SetMomentumOut ( const TVector3 &  mom)
inline

Definition at line 74 of file PndSciTPoint.h.

References fPxout, fPyout, and fPzout.

Referenced by MomentumOut().

75 {
76  fPxout = mom.Px();
77  fPyout = mom.Py();
78  fPzout = mom.Pz();
79 }
Double_t fPxout
Definition: PndSciTPoint.h:62
Double_t fPzout
Definition: PndSciTPoint.h:62
Double_t fPyout
Definition: PndSciTPoint.h:62

◆ SetPositionOut()

void PndSciTPoint::SetPositionOut ( const TVector3 &  pos)
inline

Modifiers

Definition at line 67 of file PndSciTPoint.h.

References fXout, fYout, and fZout.

Referenced by MomentumOut().

68 {
69  fXout = pos.X();
70  fYout = pos.Y();
71  fZout = pos.Z();
72 }
Double_t fXout
Definition: PndSciTPoint.h:61
Double_t fZout
Definition: PndSciTPoint.h:61
Double_t fYout
Definition: PndSciTPoint.h:61

Member Data Documentation

◆ fDetName

TString PndSciTPoint::fDetName
protected

Definition at line 59 of file PndSciTPoint.h.

Referenced by GetDetName().

◆ fPxout

Double_t PndSciTPoint::fPxout
protected

Definition at line 62 of file PndSciTPoint.h.

Referenced by GetPxout(), MomentumOut(), and SetMomentumOut().

◆ fPyout

Double_t PndSciTPoint::fPyout
protected

Definition at line 62 of file PndSciTPoint.h.

Referenced by GetPyout(), MomentumOut(), and SetMomentumOut().

◆ fPzout

Double_t PndSciTPoint::fPzout
protected

Definition at line 62 of file PndSciTPoint.h.

Referenced by GetPzout(), MomentumOut(), and SetMomentumOut().

◆ fXout

Double_t PndSciTPoint::fXout
protected

Definition at line 61 of file PndSciTPoint.h.

Referenced by GetXout(), PositionOut(), and SetPositionOut().

◆ fYout

Double_t PndSciTPoint::fYout
protected

Definition at line 61 of file PndSciTPoint.h.

Referenced by GetYout(), PositionOut(), and SetPositionOut().

◆ fZout

Double_t PndSciTPoint::fZout
protected

Definition at line 61 of file PndSciTPoint.h.

Referenced by GetZout(), PositionOut(), and SetPositionOut().


The documentation for this class was generated from the following file: