From 9e206ab1f350d374c6d2d3a83480c1988848df47 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 21 May 2020 15:06:45 -0400 Subject: [PATCH] * add beam_spot center to the printout at initialization [rtj] --- src/GlueXPrimaryGeneratorAction.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/GlueXPrimaryGeneratorAction.cc b/src/GlueXPrimaryGeneratorAction.cc index 3af5258..3bbc0de 100644 --- a/src/GlueXPrimaryGeneratorAction.cc +++ b/src/GlueXPrimaryGeneratorAction.cc @@ -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