Here are some of the first outputs, the x and y have nice distributions. This is from commenting out the direction code in the previous issue and running a beam from a positive initial position. Lines 162-170 in run_beam.cxx look like this.
// Set up the beam. Can either do point-like,
// for studying scattering probability of a single electron,
// or realistic, for studying impact of non-constant targets.
uiManager->ApplyCommand("/gps/particle e-");
uiManager->ApplyCommand("/gps/ene/type Mono");
uiManager->ApplyCommand("/gps/ene/mono 31 MeV");
// Same center and direction regardless of what beam type it is
uiManager->ApplyCommand("/gps/pos/centre 0. 0. 1. m");
//uiManager->ApplyCommand("/gps/direction 0 0 1");
Here are some of the first outputs, the x and y have nice distributions. This is from commenting out the direction code in the previous issue and running a beam from a positive initial position. Lines 162-170 in run_beam.cxx look like this.
Canvas_nFin.pdf Canvas_xp.pdf Canvas_zp.pdf