6 ss <<
"-----------------------------------------------------\n" 7 <<
" Sim Beam Spot Data\n\n" 8 <<
" X0 = " <<
x() <<
" [cm]\n" 9 <<
" Y0 = " <<
y() <<
" [cm]\n" 10 <<
" Z0 = " <<
z() <<
" [cm]\n" 11 <<
" Sigma Z0 = " <<
sigmaZ() <<
" [cm]\n" 12 <<
" Beta star = " <<
betaStar() <<
" [cm]\n" 13 <<
" Emittance X = " <<
emittance() <<
" [cm]\n" 14 <<
" Phi = " <<
phi() <<
" [radians]\n" 15 <<
" Alpha = " <<
alpha() <<
" [radians]\n" 16 <<
" TimeOffset = " <<
timeOffset() <<
" [ns]\n" 17 <<
"-----------------------------------------------------\n\n";
double sigmaZ() const
get sigmaZ
void print(std::stringstream &ss) const
print sim beam spot parameters
double alpha() const
get Alpha
double timeOffset() const
get TimeOffset
std::ostream & operator<<(std::ostream &os, SimBeamSpotObjects beam)
double z() const
get Z position
double emittance() const
get Emittance
double phi() const
get Phi
double betaStar() const
get BetaStar
double x() const
get X position
double y() const
get Y position