Repository to start developing utils for using Geant4Reweight for 2x2 studies.
This code can be ran easily on a dunegpvm. The required packages are
dune_pardata geant4reweight edepsim boost
which can be set up by sourcing the provided setup.sh
script.
The code can be built after sourcing the setup script and running make
.
The reweight.fcl
file contains the configuration used to run the weighting code in do_weighting.c++
.
The processing can be run on a file produced by edep-sim.
./do_weighting --c reweight.fcl --i [input].root --o [outputname].root
The following is an example produced by draw_len.py
using two files: one produced with the nominal pi+ cross section
(which was then reweighted by a factor of 2) and one produced by biasing (in edep-sim) the cross section by a factor of 2.