10#ifndef CBMBEAMPROFILE_H
11#define CBMBEAMPROFILE_H 1
83 void SetAngle(Double_t x0, Double_t y0, Double_t sigmaX = -1., Double_t sigmaY = -1.);
95 void SetPosition(Double_t x0, Double_t y0, Double_t sigmaX = -1., Double_t sigmaY = -1., Double_t zF = 0.);
TVector3 ExtrapolateToPlane(const TVector3 &point, const TVector3 &norm) const
Extrapolate the average beam to a plane.
Bool_t CheckWithTarget(const CbmTarget &target) const
Check consistency with a target.
Double_t fSigmaThetaX
RMS of angle in x-z plane [rad].
Double_t fMeanPosX
Mean position in x [cm].
Double_t fMeanPosY
Mean position in y [cm].
Double_t fMeanThetaX
Mean angle in x-z plane [rad].
CbmBeamProfile()
Default constructor
void SetAngle(Double_t x0, Double_t y0, Double_t sigmaX=-1., Double_t sigmaY=-1.)
Set the parameters for the beam angle distribution.
Double_t fSigmaPosX
RMS of position in x [cm].
Double_t fSigmaPosY
RMS of position in y [cm].
void SetPosition(Double_t x0, Double_t y0, Double_t sigmaX=-1., Double_t sigmaY=-1., Double_t zF=0.)
Set the parameters for the beam position distribution.
Double_t fSigmaThetaY
RMS of angle in y-z plane [rad].
virtual ~CbmBeamProfile()
Destructor
Double_t fFocalZ
z coordinate of focal plane [cm]
std::string ToString() const
Info to string.
std::unique_ptr< CbmBeam > GenerateBeam()
Generate a beam trajectory.
Double_t fMeanThetaY
Mean angle in y-z plane [rad].
Class for constructing the geometry of the CBM target.