Skip to content

Commit 6489ff2

Browse files
authored
Update README.md
1 parent 363bca1 commit 6489ff2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ Project homepage: https://github.com/kbat/mc-tools
55

66
## FLUKA
77
* Emacs [syntax highlighting script](https://github.com/kbat/mc-tools/blob/master/mctools/fluka/fluka-mode.el) for [FLUKA](http://www.fluka.org) input files.
8-
* [fluka2root](https://github.com/kbat/mc-tools/blob/master/mctools/fluka/fluka2root.py) tool to convert the FLUKA binary output into [ROOT](https://root.cern). It first calls the standard FLUKA tools to merge data files and then converts the merged files into a single ROOT file. To understand how to use it, run a standard example ```$FLUPRO/flutil/rfluka $FLUPRO/exmixed.inp``` and then execute ```fluka2root exmixed.inp```.
8+
* [fluka2root](https://github.com/kbat/mc-tools/blob/master/mctools/fluka/fluka2root.py) tool to convert the FLUKA binary output into [ROOT](https://root.cern). It first calls the standard FLUKA tools to merge data files and then converts the merged files into a single ROOT file. To understand how to use it, run a standard example
9+
~~~
10+
$FLUPRO/flutil/rfluka $FLUPRO/exmixed.inp
11+
~~~
12+
and then execute ```fluka2root exmixed.inp```.
913
* A more detailed tutorial is available in the [wiki section](https://github.com/kbat/mc-tools/wiki/mc%E2%80%90tools:-FLUKA).
1014
* Internally, `fluka2root` runs the following convertes which can (but should not) be called individually:
1115
* [usbsuw2root](https://github.com/kbat/mc-tools/blob/master/mctools/fluka/usbsuw2root.py) script to convert the USRBIN results into a TH3F histogram. Note that this tool does not directly convert the files produced by the USRBIN card, but these files must first be averaged by the $FLUPRO/flutil/usbsuw program. The resulting averaged file can be converted into ROOT by ```usbsuw2root```. The $FLUPRO/flutil/usbsuw call is done automatically if the [fluka2root](https://github.com/kbat/mc-tools/blob/master/mctools/fluka/fluka2root.py) general converter is used.
@@ -46,8 +50,10 @@ RESNUCLEI results into a TH2F histogram and TGraphError + see the comments for `
4650
a tool to facilitate input of volume/importance/probability values
4751
for all cells in geometry. To be used with cards like **area**, **vol**, **imp**, **pd**, **dxc** etc.
4852
For example, in order to set the volume of cell 5 to 3.14, cell 7 to 2.71 in a geometry of 10 cells total, run
49-
```python $MCTOOLS/mctools/mcnp/vol.py -card vol -ntotal 10 -values "5 3.14 7 2.71" -default j```.
50-
This generates the required data card: ```vol 4j 3.1 j 2.7 3j```.
53+
~~~
54+
python $MCTOOLS/mctools/mcnp/vol.py -card vol -ntotal 10 -values "5 3.14 7 2.71" -default j
55+
~~~
56+
This generates the required data card: ```vol 4j 3.1 j 2.7 3j```.
5157
* [mcnpview](https://github.com/kbat/mc-tools/blob/master/mctools/mcnp/mcnpview.sh):
5258
a wrapper around ```mcnp ip``` which allows to return to the selected
5359
geometry view in subsequent calls of the viewer. Find a detailed

0 commit comments

Comments
 (0)