40 CbmBeam(Double_t
x = 0., Double_t
y = 0., Double_t z = 0., Double_t thetaX = 0., Double_t thetaY = 0.);
TVector3 fPosition
Position vector.
CbmBeam(Double_t x=0., Double_t y=0., Double_t z=0., Double_t thetaX=0., Double_t thetaY=0.)
Default constructor.
TVector3 GetPosition() const
Beam position vector in the focal plane.
virtual ~CbmBeam()
Destructor
Double_t GetThetaY() const
Beam angle in the y-z plane.
TVector3 ExtrapolateToPlane(const TVector3 &point, const TVector3 &normal) const
Extrapolation of the beam to a plane.
TVector3 GetDirection() const
Beam direction vector return Direction vector (tx, ty, 1.)
TVector3 fDirection
Direction vector (dx/dz, dy/dz, 1.)
std::string ToString() const
Info on current beam trajectory.
Double_t GetThetaX() const
Beam angle in the x-z plane.