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 17 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 41 of file PndHypPoint.h.

42  : FairMCPoint(point), fEventID(point.fEventID), fPLin(point.fPLin), fPLout(point.fPLout), fmass(point.fmass), fcharge(point.fcharge), fXin(point.fXin), fYin(point.fYin),
43  fZin(point.fZin), fPxin(point.fPxin), fPyin(point.fPyin), fPzin(point.fPzin), fXout(point.fXout), fYout(point.fYout), fZout(point.fZout), fPxout(point.fPxout),
44  fPyout(point.fPyout), fPzout(point.fPzout), fdist(point.fdist), fDetName(point.fDetName), fVolumeID(point.fVolumeID), fpdgCode(point.fpdgCode)
45  {
46  *this = point;
47  };
Double_t fXout
Definition: PndHypPoint.h:129
TString fDetName
Definition: PndHypPoint.h:133
Double_t fZin
Definition: PndHypPoint.h:127
Double_t fPLout
Definition: PndHypPoint.h:123
Double_t fZout
Definition: PndHypPoint.h:129
Double_t fPxout
Definition: PndHypPoint.h:130
Double_t fYout
Definition: PndHypPoint.h:129
Double_t fPLin
Definition: PndHypPoint.h:123
Double_t fPzin
Definition: PndHypPoint.h:128
Int_t fpdgCode
Definition: PndHypPoint.h:135
Double_t fdist
Definition: PndHypPoint.h:130
Double_t fPyout
Definition: PndHypPoint.h:130
Double_t fXin
Definition: PndHypPoint.h:127
Double_t fPzout
Definition: PndHypPoint.h:130
Double_t fcharge
Definition: PndHypPoint.h:125
Double_t fYin
Definition: PndHypPoint.h:127
Double_t fmass
Definition: PndHypPoint.h:125
Double_t fPxin
Definition: PndHypPoint.h:128
Int_t fVolumeID
Definition: PndHypPoint.h:135
Int_t fEventID
Definition: PndHypPoint.h:121
Double_t fPyin
Definition: PndHypPoint.h:128

◆ ~PndHypPoint()

virtual PndHypPoint::~PndHypPoint ( )
virtual

Destructor

Member Function Documentation

◆ GetDetName()

TString PndHypPoint::GetDetName ( ) const
inline

Definition at line 83 of file PndHypPoint.h.

83 { return fDetName; };
TString fDetName
Definition: PndHypPoint.h:133

◆ Getdist()

Double_t PndHypPoint::Getdist ( ) const
inline

Definition at line 80 of file PndHypPoint.h.

80 { return fdist; };
Double_t fdist
Definition: PndHypPoint.h:130

◆ GetEventID()

Int_t PndHypPoint::GetEventID ( ) const
inline

Accessors

Definition at line 54 of file PndHypPoint.h.

54 { return fEventID; };
Int_t fEventID
Definition: PndHypPoint.h:121

◆ GetMass()

Double_t PndHypPoint::GetMass ( ) const
inline

Definition at line 84 of file PndHypPoint.h.

84 { return fmass; };
Double_t fmass
Definition: PndHypPoint.h:125

◆ GetPLin()

Double_t PndHypPoint::GetPLin ( ) const
inline

Definition at line 71 of file PndHypPoint.h.

71 { return fPLin; };
Double_t fPLin
Definition: PndHypPoint.h:123

◆ GetPLout()

Double_t PndHypPoint::GetPLout ( ) const
inline

Definition at line 72 of file PndHypPoint.h.

72 { return fPLout; };
Double_t fPLout
Definition: PndHypPoint.h:123

◆ GetPxin()

Double_t PndHypPoint::GetPxin ( ) const
inline

Definition at line 59 of file PndHypPoint.h.

59 { return fPxin; };
Double_t fPxin
Definition: PndHypPoint.h:128

◆ GetPxout()

Double_t PndHypPoint::GetPxout ( ) const
inline

Definition at line 77 of file PndHypPoint.h.

77 { return fPxout; };
Double_t fPxout
Definition: PndHypPoint.h:130

◆ GetPyin()

Double_t PndHypPoint::GetPyin ( ) const
inline

Definition at line 60 of file PndHypPoint.h.

60 { return fPyin; };
Double_t fPyin
Definition: PndHypPoint.h:128

◆ GetPyout()

Double_t PndHypPoint::GetPyout ( ) const
inline

Definition at line 78 of file PndHypPoint.h.

78 { return fPyout; };
Double_t fPyout
Definition: PndHypPoint.h:130

◆ GetPzin()

Double_t PndHypPoint::GetPzin ( ) const
inline

Definition at line 61 of file PndHypPoint.h.

61 { return fPzin; };
Double_t fPzin
Definition: PndHypPoint.h:128

◆ GetPzout()

Double_t PndHypPoint::GetPzout ( ) const
inline

Definition at line 79 of file PndHypPoint.h.

79 { return fPzout; };
Double_t fPzout
Definition: PndHypPoint.h:130

◆ GetVolumeID()

Int_t PndHypPoint::GetVolumeID ( ) const
inline

Definition at line 55 of file PndHypPoint.h.

55 { return fVolumeID; };
Int_t fVolumeID
Definition: PndHypPoint.h:135

◆ GetXin()

Double_t PndHypPoint::GetXin ( ) const
inline

Definition at line 56 of file PndHypPoint.h.

56 { return fXin; };
Double_t fXin
Definition: PndHypPoint.h:127

◆ GetXout()

Double_t PndHypPoint::GetXout ( ) const
inline

Definition at line 74 of file PndHypPoint.h.

74 { return fXout; };
Double_t fXout
Definition: PndHypPoint.h:129

◆ GetYin()

Double_t PndHypPoint::GetYin ( ) const
inline

Definition at line 57 of file PndHypPoint.h.

57 { return fYin; };
Double_t fYin
Definition: PndHypPoint.h:127

◆ GetYout()

Double_t PndHypPoint::GetYout ( ) const
inline

Definition at line 75 of file PndHypPoint.h.

75 { return fYout; };
Double_t fYout
Definition: PndHypPoint.h:129

◆ GetZin()

Double_t PndHypPoint::GetZin ( ) const
inline

Definition at line 58 of file PndHypPoint.h.

58 { return fZin; };
Double_t fZin
Definition: PndHypPoint.h:127

◆ GetZout()

Double_t PndHypPoint::GetZout ( ) const
inline

Definition at line 76 of file PndHypPoint.h.

76 { return fZout; };
Double_t fZout
Definition: PndHypPoint.h:129

◆ MomentumIn()

void PndHypPoint::MomentumIn ( TVector3 &  mom)
inline

Definition at line 90 of file PndHypPoint.h.

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

◆ MomentumOut()

void PndHypPoint::MomentumOut ( TVector3 &  mom)
inline

Definition at line 93 of file PndHypPoint.h.

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

◆ PositionIn()

void PndHypPoint::PositionIn ( TVector3 &  pos)
inline

Definition at line 89 of file PndHypPoint.h.

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

◆ PositionOut()

void PndHypPoint::PositionOut ( TVector3 &  pos)
inline

Definition at line 92 of file PndHypPoint.h.

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

◆ 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 104 of file PndHypPoint.h.

104 { fEventID = ev; };
Int_t fEventID
Definition: PndHypPoint.h:121

◆ SetMomentumIn()

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

Definition at line 147 of file PndHypPoint.h.

148 {
149  fPxin = mom.X();
150  fPyin = mom.Py();
151  fPzin = mom.Pz();
152 }
Double_t fPzin
Definition: PndHypPoint.h:128
Double_t fPxin
Definition: PndHypPoint.h:128
Double_t fPyin
Definition: PndHypPoint.h:128

◆ SetMomentumOut()

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

Definition at line 161 of file PndHypPoint.h.

162 {
163  fPxout = mom.Px();
164  fPyout = mom.Py();
165  fPzout = mom.Pz();
166 }
Double_t fPxout
Definition: PndHypPoint.h:130
Double_t fPyout
Definition: PndHypPoint.h:130
Double_t fPzout
Definition: PndHypPoint.h:130

◆ SetPositionIn()

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

Definition at line 140 of file PndHypPoint.h.

141 {
142  fXin = pos.X();
143  fYin = pos.Y();
144  fZin = pos.Z();
145 }
Double_t fZin
Definition: PndHypPoint.h:127
Double_t fXin
Definition: PndHypPoint.h:127
Double_t fYin
Definition: PndHypPoint.h:127

◆ SetPositionOut()

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

Definition at line 154 of file PndHypPoint.h.

155 {
156  fXout = pos.X();
157  fYout = pos.Y();
158  fZout = pos.Z();
159 }
Double_t fXout
Definition: PndHypPoint.h:129
Double_t fZout
Definition: PndHypPoint.h:129
Double_t fYout
Definition: PndHypPoint.h:129

Member Data Documentation

◆ fcharge

Double_t PndHypPoint::fcharge
protected

Definition at line 125 of file PndHypPoint.h.

◆ fDetName

TString PndHypPoint::fDetName
protected

Definition at line 133 of file PndHypPoint.h.

◆ fdist

Double_t PndHypPoint::fdist
protected

Definition at line 130 of file PndHypPoint.h.

◆ fEventID

Int_t PndHypPoint::fEventID
protected

Definition at line 121 of file PndHypPoint.h.

◆ fmass

Double_t PndHypPoint::fmass
protected

Definition at line 125 of file PndHypPoint.h.

◆ fpdgCode

Int_t PndHypPoint::fpdgCode
protected

Definition at line 135 of file PndHypPoint.h.

◆ fPLin

Double_t PndHypPoint::fPLin
protected

Definition at line 123 of file PndHypPoint.h.

◆ fPLout

Double_t PndHypPoint::fPLout
protected

Definition at line 123 of file PndHypPoint.h.

◆ fPxin

Double_t PndHypPoint::fPxin
protected

Definition at line 128 of file PndHypPoint.h.

◆ fPxout

Double_t PndHypPoint::fPxout
protected

Definition at line 130 of file PndHypPoint.h.

◆ fPyin

Double_t PndHypPoint::fPyin
protected

Definition at line 128 of file PndHypPoint.h.

◆ fPyout

Double_t PndHypPoint::fPyout
protected

Definition at line 130 of file PndHypPoint.h.

◆ fPzin

Double_t PndHypPoint::fPzin
protected

Definition at line 128 of file PndHypPoint.h.

◆ fPzout

Double_t PndHypPoint::fPzout
protected

Definition at line 130 of file PndHypPoint.h.

◆ fVolumeID

Int_t PndHypPoint::fVolumeID
protected

Definition at line 135 of file PndHypPoint.h.

◆ fXin

Double_t PndHypPoint::fXin
protected

Definition at line 127 of file PndHypPoint.h.

◆ fXout

Double_t PndHypPoint::fXout
protected

Definition at line 129 of file PndHypPoint.h.

◆ fYin

Double_t PndHypPoint::fYin
protected

Definition at line 127 of file PndHypPoint.h.

◆ fYout

Double_t PndHypPoint::fYout
protected

Definition at line 129 of file PndHypPoint.h.

◆ fZin

Double_t PndHypPoint::fZin
protected

Definition at line 127 of file PndHypPoint.h.

◆ fZout

Double_t PndHypPoint::fZout
protected

Definition at line 129 of file PndHypPoint.h.


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