6 ss <<
"-----------------------------------------------------\n" 7 <<
" Beam Spot Data\n\n" 8 <<
" Beam type = " <<
beamType() <<
"\n" 9 <<
" X0 = " <<
x() <<
" +/- " <<
xError() <<
" [cm]\n" 10 <<
" Y0 = " <<
y() <<
" +/- " <<
yError() <<
" [cm]\n" 11 <<
" Z0 = " <<
z() <<
" +/- " <<
zError() <<
" [cm]\n" 13 <<
" dxdz = " <<
dxdz() <<
" +/- " <<
dxdzError() <<
" [radians]\n" 14 <<
" dydz = " <<
dydz() <<
" +/- " <<
dydzError() <<
" [radians]\n" 17 <<
" Emittance X = " <<
emittanceX() <<
" [cm]\n" 18 <<
" Emittance Y = " <<
emittanceY() <<
" [cm]\n" 19 <<
" Beta star = " <<
betaStar() <<
" [cm]\n" 20 <<
"-----------------------------------------------------\n\n";
double emittanceX() const
get emittance
double dxdzError() const
get dxdz slope, crossing angle in XZ Error
double z() const
get Z beam position
std::ostream & operator<<(std::ostream &os, BeamSpotObjects beam)
double dydz() const
get dydz slope, crossing angle in YZ
double beamWidthX() const
get average transverse beam width
int beamType() const
get beam type
double beamWidthYError() const
get average transverse beam width error X = Y
double zError() const
get Z beam position Error
double x() const
get X beam position
double beamWidthY() const
get average transverse beam width
double y() const
get Y beam position
double xError() const
get X beam position Error
double sigmaZ() const
get sigma Z, RMS bunch length
double emittanceY() const
get emittance
void print(std::stringstream &ss) const
print beam spot parameters
double betaStar() const
get beta star
double dydzError() const
get dydz slope, crossing angle in YZ Error
double beamWidthXError() const
get average transverse beam width error ASSUME the same for X and Y
double sigmaZError() const
get sigma Z, RMS bunch length Error
double yError() const
get Y beam position Error
double dxdz() const
get dxdz slope, crossing angle in XZ