Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-04-05 08:09:42

0001 #! /bin/bash
0002 #export MYINSTALL=$MYINSTALL
0003 #source /opt/sphenix/core/bin/sphenix_setup.sh -n ana
0004 #source /opt/sphenix/core/bin/setup_local.sh $MYINSTALL
0005 
0006 input_file=${1:-''}
0007 trigger_type=${2:-'jet'}
0008 trigger=${3:-'10.'}
0009 n_events=${4:-'1000'}
0010 n_gen=${5:-'100000'}
0011 xs_filename=${6:-"none"}
0012 this_dir=${7:-''}
0013 echo $this_dir
0014 if [ ! -d "cross_section_data" ]; then                                              
0015         mkdir -p "cross_section_data";                                              
0016 fi
0017 root.exe -x -b -q   ${this_dir}RunHerwigHepMCFilter.C\(\"$input_file\",\"$trigger_type\",\"$trigger\",$n_events,$n_gen,\"$xs_filename\"\)