Skip to content

Commit

Permalink
Merge pull request #156 from JeffersonLab/print_vertex_info_if_used_rtj
Browse files Browse the repository at this point in the history
* add beam_spot center to the printout at initialization [rtj]
  • Loading branch information
aaust authored May 26, 2020
2 parents 2270347 + 9e206ab commit 8ca54e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/GlueXPrimaryGeneratorAction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1316,6 +1316,9 @@ void GlueXPrimaryGeneratorAction::configure_beam_vertex()

#ifndef QUIET_CONFIGURE_BEAM_VERTEX
G4cout << "Configured beam vertex parameters: (units of cm)" << G4endl
<< " center x=" << fBeamvertex.x/cm
<< " y=" << fBeamvertex.y/cm
<< " z=" << fBeamvertex.z/cm << G4endl
<< " sigma_x=" << sqrt(fBeamvertex.var_xx)/cm
<< " sigma_y=" << sqrt(fBeamvertex.var_yy)/cm
<< " sigma_xy=" << fBeamvertex.var_xy/(cm*cm) << G4endl
Expand Down

0 comments on commit 8ca54e0

Please sign in to comment.