PandaRoot
PndHypPoint Class Reference

#include <PndHypPoint.h>

Inheritance diagram for PndHypPoint:

Public Member Functions

 PndHypPoint ()
 
 PndHypPoint (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)
 
 PndHypPoint (const PndHypPoint &point)
 
virtual ~PndHypPoint ()
 
Int_t GetEventID () const
 
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 SetEventID (Int_t ev)
 
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

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

Detailed Description

Definition at line 29 of file PndHypPoint.h.

Constructor & Destructor Documentation

◆ PndHypPoint() [1/3]

PndHypPoint::PndHypPoint ( )

Default constructor

◆ PndHypPoint() [2/3]

PndHypPoint::PndHypPoint ( 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]

◆ PndHypPoint() [3/3]

PndHypPoint::PndHypPoint ( const PndHypPoint point)
inline

Copy constructor

Definition at line 53 of file PndHypPoint.h.

54  : FairMCPoint(point), fEventID(point.fEventID), fPLin(point.fPLin), fPLout(point.fPLout), fmass(point.fmass), fcharge(point.fcharge), fXin(point.fXin), fYin(point.fYin),
55  fZin(point.fZin), fPxin(point.fPxin), fPyin(point.fPyin), fPzin(point.fPzin), fXout(point.fXout), fYout(point.fYout), fZout(point.fZout), fPxout(point.fPxout),
56  fPyout(point.fPyout), fPzout(point.fPzout), fdist(point.fdist), fDetName(point.fDetName), fVolumeID(point.fVolumeID), fpdgCode(point.fpdgCode)
57  {
58  *this = point;
59  };
Double_t fXout
Definition: PndHypPoint.h:141
TString fDetName
Definition: PndHypPoint.h:145
Double_t fZin
Definition: PndHypPoint.h:139
Double_t fPLout
Definition: PndHypPoint.h:135
Double_t fZout
Definition: PndHypPoint.h:141
Double_t fPxout
Definition: PndHypPoint.h:142
Double_t fYout
Definition: PndHypPoint.h:141
Double_t fPLin
Definition: PndHypPoint.h:135
Double_t fPzin
Definition: PndHypPoint.h:140
Int_t fpdgCode
Definition: PndHypPoint.h:147
Double_t fdist
Definition: PndHypPoint.h:142
Double_t fPyout
Definition: PndHypPoint.h:142
Double_t fXin
Definition: PndHypPoint.h:139
Double_t fPzout
Definition: PndHypPoint.h:142
Double_t fcharge
Definition: PndHypPoint.h:137
Double_t fYin
Definition: PndHypPoint.h:139
Double_t fmass
Definition: PndHypPoint.h:137
Double_t fPxin
Definition: PndHypPoint.h:140
Int_t fVolumeID
Definition: PndHypPoint.h:147
Int_t fEventID
Definition: PndHypPoint.h:133
Double_t fPyin
Definition: PndHypPoint.h:140

◆ ~PndHypPoint()

virtual PndHypPoint::~PndHypPoint ( )
virtual

Destructor

Member Function Documentation

◆ GetDetName()

TString PndHypPoint::GetDetName ( ) const
inline

Definition at line 95 of file PndHypPoint.h.

95 { return fDetName; };
TString fDetName
Definition: PndHypPoint.h:145

◆ Getdist()

Double_t PndHypPoint::Getdist ( ) const
inline

Definition at line 92 of file PndHypPoint.h.

92 { return fdist; };
Double_t fdist
Definition: PndHypPoint.h:142

◆ GetEventID()

Int_t PndHypPoint::GetEventID ( ) const
inline

Accessors

Definition at line 66 of file PndHypPoint.h.

66 { return fEventID; };
Int_t fEventID
Definition: PndHypPoint.h:133

◆ GetMass()

Double_t PndHypPoint::GetMass ( ) const
inline

Definition at line 96 of file PndHypPoint.h.

96 { return fmass; };
Double_t fmass
Definition: PndHypPoint.h:137

◆ GetPLin()

Double_t PndHypPoint::GetPLin ( ) const
inline

Definition at line 83 of file PndHypPoint.h.

83 { return fPLin; };
Double_t fPLin
Definition: PndHypPoint.h:135

◆ GetPLout()

Double_t PndHypPoint::GetPLout ( ) const
inline

Definition at line 84 of file PndHypPoint.h.

84 { return fPLout; };
Double_t fPLout
Definition: PndHypPoint.h:135

◆ GetPxin()

Double_t PndHypPoint::GetPxin ( ) const
inline

Definition at line 71 of file PndHypPoint.h.

71 { return fPxin; };
Double_t fPxin
Definition: PndHypPoint.h:140

◆ GetPxout()

Double_t PndHypPoint::GetPxout ( ) const
inline

Definition at line 89 of file PndHypPoint.h.

89 { return fPxout; };
Double_t fPxout
Definition: PndHypPoint.h:142

◆ GetPyin()

Double_t PndHypPoint::GetPyin ( ) const
inline

Definition at line 72 of file PndHypPoint.h.

72 { return fPyin; };
Double_t fPyin
Definition: PndHypPoint.h:140

◆ GetPyout()

Double_t PndHypPoint::GetPyout ( ) const
inline

Definition at line 90 of file PndHypPoint.h.

90 { return fPyout; };
Double_t fPyout
Definition: PndHypPoint.h:142

◆ GetPzin()

Double_t PndHypPoint::GetPzin ( ) const
inline

Definition at line 73 of file PndHypPoint.h.

73 { return fPzin; };
Double_t fPzin
Definition: PndHypPoint.h:140

◆ GetPzout()

Double_t PndHypPoint::GetPzout ( ) const
inline

Definition at line 91 of file PndHypPoint.h.

91 { return fPzout; };
Double_t fPzout
Definition: PndHypPoint.h:142

◆ GetVolumeID()

Int_t PndHypPoint::GetVolumeID ( ) const
inline

Definition at line 67 of file PndHypPoint.h.

67 { return fVolumeID; };
Int_t fVolumeID
Definition: PndHypPoint.h:147

◆ GetXin()

Double_t PndHypPoint::GetXin ( ) const
inline

Definition at line 68 of file PndHypPoint.h.

68 { return fXin; };
Double_t fXin
Definition: PndHypPoint.h:139

◆ GetXout()

Double_t PndHypPoint::GetXout ( ) const
inline

Definition at line 86 of file PndHypPoint.h.

86 { return fXout; };
Double_t fXout
Definition: PndHypPoint.h:141

◆ GetYin()

Double_t PndHypPoint::GetYin ( ) const
inline

Definition at line 69 of file PndHypPoint.h.

69 { return fYin; };
Double_t fYin
Definition: PndHypPoint.h:139

◆ GetYout()

Double_t PndHypPoint::GetYout ( ) const
inline

Definition at line 87 of file PndHypPoint.h.

87 { return fYout; };
Double_t fYout
Definition: PndHypPoint.h:141

◆ GetZin()

Double_t PndHypPoint::GetZin ( ) const
inline

Definition at line 70 of file PndHypPoint.h.

70 { return fZin; };
Double_t fZin
Definition: PndHypPoint.h:139

◆ GetZout()

Double_t PndHypPoint::GetZout ( ) const
inline

Definition at line 88 of file PndHypPoint.h.

88 { return fZout; };
Double_t fZout
Definition: PndHypPoint.h:141

◆ MomentumIn()

void PndHypPoint::MomentumIn ( TVector3 &  mom)
inline

Definition at line 102 of file PndHypPoint.h.

102 { mom.SetXYZ(fPxin, fPyin, fPzin); };
Double_t fPzin
Definition: PndHypPoint.h:140
Double_t fPxin
Definition: PndHypPoint.h:140
Double_t fPyin
Definition: PndHypPoint.h:140

◆ MomentumOut()

void PndHypPoint::MomentumOut ( TVector3 &  mom)
inline

Definition at line 105 of file PndHypPoint.h.

105 { mom.SetXYZ(fPxout, fPyout, fPzout); };
Double_t fPxout
Definition: PndHypPoint.h:142
Double_t fPyout
Definition: PndHypPoint.h:142
Double_t fPzout
Definition: PndHypPoint.h:142

◆ PositionIn()

void PndHypPoint::PositionIn ( TVector3 &  pos)
inline

Definition at line 101 of file PndHypPoint.h.

101 { pos.SetXYZ(fXin, fYin, fZin); };
Double_t fZin
Definition: PndHypPoint.h:139
Double_t fXin
Definition: PndHypPoint.h:139
Double_t fYin
Definition: PndHypPoint.h:139

◆ PositionOut()

void PndHypPoint::PositionOut ( TVector3 &  pos)
inline

Definition at line 104 of file PndHypPoint.h.

104 { pos.SetXYZ(fXout, fYout, fZout); };
Double_t fXout
Definition: PndHypPoint.h:141
Double_t fZout
Definition: PndHypPoint.h:141
Double_t fYout
Definition: PndHypPoint.h:141

◆ Print()

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

Output to screen

◆ SetEventID()

void PndHypPoint::SetEventID ( Int_t  ev)
inline

Modifiers

Definition at line 116 of file PndHypPoint.h.

116 { fEventID = ev; };
Int_t fEventID
Definition: PndHypPoint.h:133

◆ SetMomentumIn()

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

Definition at line 159 of file PndHypPoint.h.

160 {
161  fPxin = mom.X();
162  fPyin = mom.Py();
163  fPzin = mom.Pz();
164 }
Double_t fPzin
Definition: PndHypPoint.h:140
Double_t fPxin
Definition: PndHypPoint.h:140
Double_t fPyin
Definition: PndHypPoint.h:140

◆ SetMomentumOut()

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

Definition at line 173 of file PndHypPoint.h.

174 {
175  fPxout = mom.Px();
176  fPyout = mom.Py();
177  fPzout = mom.Pz();
178 }
Double_t fPxout
Definition: PndHypPoint.h:142
Double_t fPyout
Definition: PndHypPoint.h:142
Double_t fPzout
Definition: PndHypPoint.h:142

◆ SetPositionIn()

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

Definition at line 152 of file PndHypPoint.h.

153 {
154  fXin = pos.X();
155  fYin = pos.Y();
156  fZin = pos.Z();
157 }
Double_t fZin
Definition: PndHypPoint.h:139
Double_t fXin
Definition: PndHypPoint.h:139
Double_t fYin
Definition: PndHypPoint.h:139

◆ SetPositionOut()

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

Definition at line 166 of file PndHypPoint.h.

167 {
168  fXout = pos.X();
169  fYout = pos.Y();
170  fZout = pos.Z();
171 }
Double_t fXout
Definition: PndHypPoint.h:141
Double_t fZout
Definition: PndHypPoint.h:141
Double_t fYout
Definition: PndHypPoint.h:141

Member Data Documentation

◆ fcharge

Double_t PndHypPoint::fcharge
protected

Definition at line 137 of file PndHypPoint.h.

◆ fDetName

TString PndHypPoint::fDetName
protected

Definition at line 145 of file PndHypPoint.h.

◆ fdist

Double_t PndHypPoint::fdist
protected

Definition at line 142 of file PndHypPoint.h.

◆ fEventID

Int_t PndHypPoint::fEventID
protected

Definition at line 133 of file PndHypPoint.h.

◆ fmass

Double_t PndHypPoint::fmass
protected

Definition at line 137 of file PndHypPoint.h.

◆ fpdgCode

Int_t PndHypPoint::fpdgCode
protected

Definition at line 147 of file PndHypPoint.h.

◆ fPLin

Double_t PndHypPoint::fPLin
protected

Definition at line 135 of file PndHypPoint.h.

◆ fPLout

Double_t PndHypPoint::fPLout
protected

Definition at line 135 of file PndHypPoint.h.

◆ fPxin

Double_t PndHypPoint::fPxin
protected

Definition at line 140 of file PndHypPoint.h.

◆ fPxout

Double_t PndHypPoint::fPxout
protected

Definition at line 142 of file PndHypPoint.h.

◆ fPyin

Double_t PndHypPoint::fPyin
protected

Definition at line 140 of file PndHypPoint.h.

◆ fPyout

Double_t PndHypPoint::fPyout
protected

Definition at line 142 of file PndHypPoint.h.

◆ fPzin

Double_t PndHypPoint::fPzin
protected

Definition at line 140 of file PndHypPoint.h.

◆ fPzout

Double_t PndHypPoint::fPzout
protected

Definition at line 142 of file PndHypPoint.h.

◆ fVolumeID

Int_t PndHypPoint::fVolumeID
protected

Definition at line 147 of file PndHypPoint.h.

◆ fXin

Double_t PndHypPoint::fXin
protected

Definition at line 139 of file PndHypPoint.h.

◆ fXout

Double_t PndHypPoint::fXout
protected

Definition at line 141 of file PndHypPoint.h.

◆ fYin

Double_t PndHypPoint::fYin
protected

Definition at line 139 of file PndHypPoint.h.

◆ fYout

Double_t PndHypPoint::fYout
protected

Definition at line 141 of file PndHypPoint.h.

◆ fZin

Double_t PndHypPoint::fZin
protected

Definition at line 139 of file PndHypPoint.h.

◆ fZout

Double_t PndHypPoint::fZout
protected

Definition at line 141 of file PndHypPoint.h.


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