PandaRoot
PndFtofPoint Class Reference

#include <PndFtofPoint.h>

Inheritance diagram for PndFtofPoint:

Public Member Functions

 PndFtofPoint ()
 
 PndFtofPoint (Int_t trackID, Int_t evtID, Int_t detID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t distance, Double_t PLin, Double_t PLout)
 
 PndFtofPoint (const PndFtofPoint &point)
 
virtual ~PndFtofPoint ()
 
Int_t GetVolumeID () const
 
Double_t GetXin () const
 
Double_t GetYin () const
 
Double_t GetZin () const
 
Double_t GetPxin () const
 
Double_t GetPyin () const
 
Double_t GetPzin () const
 
Double_t GetPLin () const
 
Double_t GetPLout () 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
 
Double_t Getdist () const
 
TString GetDetName () const
 
Double_t GetMass () const
 
void PositionIn (TVector3 &pos)
 
void MomentumIn (TVector3 &mom)
 
void PositionOut (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
void SetPositionIn (const TVector3 &pos)
 
void SetMomentumIn (const TVector3 &mom)
 
void SetPositionOut (const TVector3 &pos)
 
void SetMomentumOut (const TVector3 &mom)
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

Double32_t fPLin
 
Double32_t fPLout
 
Double32_t fmass
 
Double32_t fcharge
 
Double32_t fXin
 
Double32_t fYin
 
Double32_t fZin
 
Double32_t fPxin
 
Double32_t fPyin
 
Double32_t fPzin
 
Double32_t fXout
 
Double32_t fYout
 
Double32_t fZout
 
Double32_t fPxout
 
Double32_t fPyout
 
Double32_t fPzout
 
Double32_t fdist
 
TString fDetName
 
Int_t fVolumeID
 
Int_t fpdgCode
 

Detailed Description

Definition at line 15 of file PndFtofPoint.h.

Constructor & Destructor Documentation

◆ PndFtofPoint() [1/3]

PndFtofPoint::PndFtofPoint ( )

Default constructor

◆ PndFtofPoint() [2/3]

PndFtofPoint::PndFtofPoint ( Int_t  trackID,
Int_t  evtID,
Int_t  detID,
TString  detName,
TVector3  posin,
TVector3  momin,
TVector3  posout,
TVector3  momout,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Double_t  charge,
Double_t  mass,
Int_t  pdgCode,
Double_t  distance,
Double_t  PLin,
Double_t  PLout 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posInCcoordinates at entrance to active volume [cm]
posOutCoordinates at exit of active volume [cm]
momInMomentum of track at entrance [GeV]
momOutMomentum of track at exit [GeV]
posInLocalLocal coordinates at entrance to active volume [cm]
posOutLocalLocal coordinates at exit of active volume [cm]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

◆ PndFtofPoint() [3/3]

PndFtofPoint::PndFtofPoint ( const PndFtofPoint point)
inline

Copy constructor

Definition at line 39 of file PndFtofPoint.h.

References ~PndFtofPoint().

39 : FairMCPoint(point) { *this = point; };

◆ ~PndFtofPoint()

virtual PndFtofPoint::~PndFtofPoint ( )
virtual

Destructor

Referenced by PndFtofPoint().

Member Function Documentation

◆ GetDetName()

TString PndFtofPoint::GetDetName ( ) const
inline

Definition at line 65 of file PndFtofPoint.h.

References fDetName.

65 { return fDetName; };
TString fDetName
Definition: PndFtofPoint.h:92

◆ Getdist()

Double_t PndFtofPoint::Getdist ( ) const
inline

Definition at line 62 of file PndFtofPoint.h.

References fdist.

62 { return fdist; };
Double32_t fdist
Definition: PndFtofPoint.h:90

◆ GetMass()

Double_t PndFtofPoint::GetMass ( ) const
inline

Definition at line 66 of file PndFtofPoint.h.

References fmass.

66 { return fmass; };
Double32_t fmass
Definition: PndFtofPoint.h:86

◆ GetPLin()

Double_t PndFtofPoint::GetPLin ( ) const
inline

Definition at line 53 of file PndFtofPoint.h.

References fPLin.

53 { return fPLin; };
Double32_t fPLin
Definition: PndFtofPoint.h:85

◆ GetPLout()

Double_t PndFtofPoint::GetPLout ( ) const
inline

Definition at line 54 of file PndFtofPoint.h.

References fPLout.

54 { return fPLout; };
Double32_t fPLout
Definition: PndFtofPoint.h:85

◆ GetPxin()

Double_t PndFtofPoint::GetPxin ( ) const
inline

Definition at line 49 of file PndFtofPoint.h.

References fPxin.

49 { return fPxin; };
Double32_t fPxin
Definition: PndFtofPoint.h:88

◆ GetPxout()

Double_t PndFtofPoint::GetPxout ( ) const
inline

Definition at line 59 of file PndFtofPoint.h.

References fPxout.

59 { return fPxout; };
Double32_t fPxout
Definition: PndFtofPoint.h:90

◆ GetPyin()

Double_t PndFtofPoint::GetPyin ( ) const
inline

Definition at line 50 of file PndFtofPoint.h.

References fPyin.

50 { return fPyin; };
Double32_t fPyin
Definition: PndFtofPoint.h:88

◆ GetPyout()

Double_t PndFtofPoint::GetPyout ( ) const
inline

Definition at line 60 of file PndFtofPoint.h.

References fPyout.

60 { return fPyout; };
Double32_t fPyout
Definition: PndFtofPoint.h:90

◆ GetPzin()

Double_t PndFtofPoint::GetPzin ( ) const
inline

Definition at line 51 of file PndFtofPoint.h.

References fPzin.

51 { return fPzin; };
Double32_t fPzin
Definition: PndFtofPoint.h:88

◆ GetPzout()

Double_t PndFtofPoint::GetPzout ( ) const
inline

Definition at line 61 of file PndFtofPoint.h.

References fPzout.

61 { return fPzout; };
Double32_t fPzout
Definition: PndFtofPoint.h:90

◆ GetVolumeID()

Int_t PndFtofPoint::GetVolumeID ( ) const
inline

Accessors

Definition at line 45 of file PndFtofPoint.h.

References fVolumeID.

45 { return fVolumeID; };
Int_t fVolumeID
Definition: PndFtofPoint.h:94

◆ GetXin()

Double_t PndFtofPoint::GetXin ( ) const
inline

Definition at line 46 of file PndFtofPoint.h.

References fXin.

46 { return fXin; };
Double32_t fXin
Definition: PndFtofPoint.h:87

◆ GetXout()

Double_t PndFtofPoint::GetXout ( ) const
inline

Definition at line 56 of file PndFtofPoint.h.

References fXout.

56 { return fXout; };
Double32_t fXout
Definition: PndFtofPoint.h:89

◆ GetYin()

Double_t PndFtofPoint::GetYin ( ) const
inline

Definition at line 47 of file PndFtofPoint.h.

References fYin.

47 { return fYin; };
Double32_t fYin
Definition: PndFtofPoint.h:87

◆ GetYout()

Double_t PndFtofPoint::GetYout ( ) const
inline

Definition at line 57 of file PndFtofPoint.h.

References fYout.

57 { return fYout; };
Double32_t fYout
Definition: PndFtofPoint.h:89

◆ GetZin()

Double_t PndFtofPoint::GetZin ( ) const
inline

Definition at line 48 of file PndFtofPoint.h.

References fZin.

48 { return fZin; };
Double32_t fZin
Definition: PndFtofPoint.h:87

◆ GetZout()

Double_t PndFtofPoint::GetZout ( ) const
inline

Definition at line 58 of file PndFtofPoint.h.

References fZout.

58 { return fZout; };
Double32_t fZout
Definition: PndFtofPoint.h:89

◆ MomentumIn()

void PndFtofPoint::MomentumIn ( TVector3 &  mom)
inline

Definition at line 69 of file PndFtofPoint.h.

References fPxin, fPyin, and fPzin.

69 { mom.SetXYZ(fPxin, fPyin, fPzin); };
Double32_t fPzin
Definition: PndFtofPoint.h:88
Double32_t fPxin
Definition: PndFtofPoint.h:88
Double32_t fPyin
Definition: PndFtofPoint.h:88

◆ MomentumOut()

void PndFtofPoint::MomentumOut ( TVector3 &  mom)
inline

Definition at line 72 of file PndFtofPoint.h.

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

72 { mom.SetXYZ(fPxout, fPyout, fPzout); };
Double32_t fPyout
Definition: PndFtofPoint.h:90
Double32_t fPzout
Definition: PndFtofPoint.h:90
Double32_t fPxout
Definition: PndFtofPoint.h:90

◆ PositionIn()

void PndFtofPoint::PositionIn ( TVector3 &  pos)
inline

Definition at line 68 of file PndFtofPoint.h.

References fXin, fYin, and fZin.

68 { pos.SetXYZ(fXin, fYin, fZin); };
Double32_t fYin
Definition: PndFtofPoint.h:87
Double32_t fXin
Definition: PndFtofPoint.h:87
Double32_t fZin
Definition: PndFtofPoint.h:87

◆ PositionOut()

void PndFtofPoint::PositionOut ( TVector3 &  pos)
inline

Definition at line 71 of file PndFtofPoint.h.

References fXout, fYout, and fZout.

71 { pos.SetXYZ(fXout, fYout, fZout); };
Double32_t fXout
Definition: PndFtofPoint.h:89
Double32_t fZout
Definition: PndFtofPoint.h:89
Double32_t fYout
Definition: PndFtofPoint.h:89

◆ Print()

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

Output to screen

Referenced by MomentumOut().

◆ SetMomentumIn()

void PndFtofPoint::SetMomentumIn ( const TVector3 &  mom)
inline

Definition at line 106 of file PndFtofPoint.h.

References fPxin, fPyin, and fPzin.

Referenced by MomentumOut().

107 {
108  fPxin = mom.X();
109  fPyin = mom.Py();
110  fPzin = mom.Pz();
111 }
Double32_t fPzin
Definition: PndFtofPoint.h:88
Double32_t fPxin
Definition: PndFtofPoint.h:88
Double32_t fPyin
Definition: PndFtofPoint.h:88

◆ SetMomentumOut()

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

Definition at line 120 of file PndFtofPoint.h.

References fPxout, fPyout, and fPzout.

Referenced by MomentumOut().

121 {
122  fPxout = mom.Px();
123  fPyout = mom.Py();
124  fPzout = mom.Pz();
125 }
Double32_t fPyout
Definition: PndFtofPoint.h:90
Double32_t fPzout
Definition: PndFtofPoint.h:90
Double32_t fPxout
Definition: PndFtofPoint.h:90

◆ SetPositionIn()

void PndFtofPoint::SetPositionIn ( const TVector3 &  pos)
inline

Modifiers

Definition at line 99 of file PndFtofPoint.h.

References fXin, fYin, and fZin.

Referenced by MomentumOut().

100 {
101  fXin = pos.X();
102  fYin = pos.Y();
103  fZin = pos.Z();
104 }
Double32_t fYin
Definition: PndFtofPoint.h:87
Double32_t fXin
Definition: PndFtofPoint.h:87
Double32_t fZin
Definition: PndFtofPoint.h:87

◆ SetPositionOut()

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

Definition at line 113 of file PndFtofPoint.h.

References fXout, fYout, and fZout.

Referenced by MomentumOut().

114 {
115  fXout = pos.X();
116  fYout = pos.Y();
117  fZout = pos.Z();
118 }
Double32_t fXout
Definition: PndFtofPoint.h:89
Double32_t fZout
Definition: PndFtofPoint.h:89
Double32_t fYout
Definition: PndFtofPoint.h:89

Member Data Documentation

◆ fcharge

Double32_t PndFtofPoint::fcharge
protected

Definition at line 86 of file PndFtofPoint.h.

◆ fDetName

TString PndFtofPoint::fDetName
protected

Definition at line 92 of file PndFtofPoint.h.

Referenced by GetDetName().

◆ fdist

Double32_t PndFtofPoint::fdist
protected

Definition at line 90 of file PndFtofPoint.h.

Referenced by Getdist().

◆ fmass

Double32_t PndFtofPoint::fmass
protected

Definition at line 86 of file PndFtofPoint.h.

Referenced by GetMass().

◆ fpdgCode

Int_t PndFtofPoint::fpdgCode
protected

Definition at line 94 of file PndFtofPoint.h.

◆ fPLin

Double32_t PndFtofPoint::fPLin
protected

Definition at line 85 of file PndFtofPoint.h.

Referenced by GetPLin().

◆ fPLout

Double32_t PndFtofPoint::fPLout
protected

Definition at line 85 of file PndFtofPoint.h.

Referenced by GetPLout().

◆ fPxin

Double32_t PndFtofPoint::fPxin
protected

Definition at line 88 of file PndFtofPoint.h.

Referenced by GetPxin(), MomentumIn(), and SetMomentumIn().

◆ fPxout

Double32_t PndFtofPoint::fPxout
protected

Definition at line 90 of file PndFtofPoint.h.

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

◆ fPyin

Double32_t PndFtofPoint::fPyin
protected

Definition at line 88 of file PndFtofPoint.h.

Referenced by GetPyin(), MomentumIn(), and SetMomentumIn().

◆ fPyout

Double32_t PndFtofPoint::fPyout
protected

Definition at line 90 of file PndFtofPoint.h.

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

◆ fPzin

Double32_t PndFtofPoint::fPzin
protected

Definition at line 88 of file PndFtofPoint.h.

Referenced by GetPzin(), MomentumIn(), and SetMomentumIn().

◆ fPzout

Double32_t PndFtofPoint::fPzout
protected

Definition at line 90 of file PndFtofPoint.h.

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

◆ fVolumeID

Int_t PndFtofPoint::fVolumeID
protected

Definition at line 94 of file PndFtofPoint.h.

Referenced by GetVolumeID().

◆ fXin

Double32_t PndFtofPoint::fXin
protected

Definition at line 87 of file PndFtofPoint.h.

Referenced by GetXin(), PositionIn(), and SetPositionIn().

◆ fXout

Double32_t PndFtofPoint::fXout
protected

Definition at line 89 of file PndFtofPoint.h.

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

◆ fYin

Double32_t PndFtofPoint::fYin
protected

Definition at line 87 of file PndFtofPoint.h.

Referenced by GetYin(), PositionIn(), and SetPositionIn().

◆ fYout

Double32_t PndFtofPoint::fYout
protected

Definition at line 89 of file PndFtofPoint.h.

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

◆ fZin

Double32_t PndFtofPoint::fZin
protected

Definition at line 87 of file PndFtofPoint.h.

Referenced by GetZin(), PositionIn(), and SetPositionIn().

◆ fZout

Double32_t PndFtofPoint::fZout
protected

Definition at line 89 of file PndFtofPoint.h.

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


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