Skip to content

Commit

Permalink
Add some scripts that pipe specific gevgen channels through gdb
Browse files Browse the repository at this point in the history
  • Loading branch information
gnperdue committed Oct 22, 2014
1 parent 80d1c63 commit c837cb4
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions gdb_a_ccqe_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/sh

# Generic SN run...

NUMEVT=1000
if [ $# -gt 0 ]; then
NUMEVT=$1
fi

# http://pdg.lbl.gov/2007/reviews/montecarlorpp.pdf
# http://pdg.lbl.gov/2011/mcdata/mc_particle_id_contents.html
# http://genie.hepforge.org/doxygen/html/PDGCodes_8h_source.html
CARBON="1000060120"
OXYGEN="1000080160"

TARGET=$OXYGEN

gdb -tui --args gevgen -n $NUMEVT -p -12 -t $TARGET -e 2 -r 101 \
--seed 2989819 --cross-sections $XSECSPLINEDIR/gxspl-vA-v2.8.0.xml \
--event-generator-list CCQE

21 changes: 21 additions & 0 deletions gdb_a_vle_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/sh

# Generic SN run...

NUMEVT=5
if [ $# -gt 0 ]; then
NUMEVT=$1
fi

# http://pdg.lbl.gov/2007/reviews/montecarlorpp.pdf
# http://pdg.lbl.gov/2011/mcdata/mc_particle_id_contents.html
# http://genie.hepforge.org/doxygen/html/PDGCodes_8h_source.html
CARBON="1000060120"
OXYGEN="1000080160"

TARGET=$OXYGEN

gdb -tui --args gevgen -n $NUMEVT -p -12 -t $TARGET -e 0.02 -r 101 \
--seed 2989819 --cross-sections $XSECSPLINEDIR/gxspl-vA-v2.8.0.xml \
--event-generator-list VLE

0 comments on commit c837cb4

Please sign in to comment.