25 ss <<
"-----------------------------------------------------\n" 26 <<
" Sim Beam Spot Data\n\n" 27 <<
" X0 = " <<
x() <<
" [cm]\n" 28 <<
" Y0 = " <<
y() <<
" [cm]\n" 29 <<
" Z0 = " <<
z() <<
" [cm]\n" 30 <<
" MeanX = " <<
meanX() <<
" [cm]\n" 31 <<
" MeanY = " <<
meanY() <<
" [cm]\n" 32 <<
" MeanZ = " <<
meanZ() <<
" [cm]\n" 33 <<
" Sigma X0 = " <<
sigmaX() <<
" [cm]\n" 34 <<
" Sigma Y0 = " <<
sigmaY() <<
" [cm]\n" 35 <<
" Sigma Z0 = " <<
sigmaZ() <<
" [cm]\n" 36 <<
" Beta star = " <<
betaStar() <<
" [cm]\n" 37 <<
" Emittance X = " <<
emittance() <<
" [cm]\n" 38 <<
" Phi = " <<
phi() <<
" [radians]\n" 39 <<
" Alpha = " <<
alpha() <<
" [radians]\n" 40 <<
" TimeOffset = " <<
timeOffset() <<
" [ns]\n" 41 <<
"-----------------------------------------------------\n\n";
void print(std::stringstream &ss) const
print sim beam spot parameters
double sigmaX() const
get sigmaX, sigmaY, sigmaZ
double meanX() const
get meanX, meanY, meanZ position
double timeOffset() const
std::ostream & operator<<(std::ostream &os, SimBeamSpotObjects beam)
double phi() const
get Phi, Alpha and TimeOffset
double betaStar() const
get BetaStar and Emittance
double x() const
get X, Y, Z position