mdurk / ScatteringRadiation

Bare-bones package for modelling scattering and radiation from an electron beam on metal foil
1 stars 0 forks source link

First (Non-Trivial) Output #5

Open mdurk opened 2 years ago

mdurk commented 2 years ago

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");

Canvas_nFin.pdf Canvas_xp.pdf Canvas_zp.pdf

mdurk commented 2 years ago

here is the particle list Canvas_part.pdf