kbat / mc-tools

Some Monte Carlo tools
GNU Lesser General Public License v3.0
45 stars 17 forks source link
fluka mcnp mcnpx monte-carlo phits povray root-cern

mc-tools

ROOT-based tools for FLUKA, PHITS and MCNP Monte Carlo codes

Project homepage: https://github.com/kbat/mc-tools

FLUKA

Attention to the FLUKA.CERN users: these tools are primarily designed for the authentic FLUKA, with some effort made to support your fork as well. Any assistance in improving this compatibility is greately appreciated. See the Contacts section below.

MСNР

PHITS

Generic tools

Requirements

Installation

  1. Get the source code:
    • either git clone https://github.com/kbat/mc-tools.git
    • or download and uncompress https://github.com/kbat/mc-tools/archive/master.zip
  2. Set the variable MCTOOLS to the folder where you have installed the code: export MCTOOLS=/path/to/mc-tools (specify the folder containing README.md)
  3. Add the $MCTOOLS folder into $PYTHONPATH: export PYTHONPATH=$MCTOOLS:$PYTHONPATH
  4. Add the $MCTOOLS/bin folder into your $PATH: export PATH=$MCTOOLS/bin:$PATH

Contacts

Konstantin Batkov, batkov [аt] gmail.com

Many thanks to

See also

https://github.com/SAnsell/CombLayer

https://github.com/lanl/mcnptools

http://pyne.io

https://github.com/Lindt8/DCHAIN-Tools