Skip to content

Commit

Permalink
Merge pull request #80 from ULB-Metronu/issue-76
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Tesse committed Dec 28, 2023
2 parents fc31820 + d42921c commit a0648c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions docs/modules/fermi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,11 @@ Python script
#############

If you would like to compute the coefficients for another material,
you must adapt the file `degrader_properties.gmad` and run the script in
`bdsim-input`:
you must adapt the file `degrader_properties.gmad` and run the script `bdsim-input.gmad`:

::

bdsim --file=deg_tracking.gmad --outfile=output-${material}-E${energy} --ngenerate=nparticles --batch
bdsim --file=bdsim-input.gmad --outfile=output.root --ngenerate=nparticles --batch

The program that computes the coefficients for losses and momentum
deviation is `compute_quantiles.py` and it can be excecuted by:
Expand Down
4 changes: 2 additions & 2 deletions georges/fermi/algorithm/degrader_properties.gmad
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
length=20*cm
material="G4_Li"
length=20*cm;
material="G4_Li";

0 comments on commit a0648c1

Please sign in to comment.