Skip to content

Commit

Permalink
* add beam_spot center to the printout at initialization [rtj]
Browse files Browse the repository at this point in the history
  • Loading branch information
rjones30 committed May 21, 2020
1 parent bfe5200 commit 9e206ab
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 9e206ab

Please sign in to comment.