Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:14:13

0001 #!/bin/bash
0002 
0003 export USER="$(id -u -n)"
0004 export LOGNAME=${USER}
0005 export HOME=/sphenix/u/${LOGNAME} #(or /star/u/${LOGNAME} or /sphenix/u/${LOGNAME} or /eic/u/${LOGNAME})
0006  
0007 source /opt/sphenix/core/bin/sphenix_setup.sh -n
0008 source /opt/sphenix/core/bin/setup_local.sh $HOME/install
0009 # source /opt/sphenix/core/bin/setup_local.sh $HOME/install_master
0010 
0011 # print the environment - needed for debugging
0012 printenv
0013 
0014 # this is how you run your Fun4All_G4_sPHENIX.C macro in batch: 
0015 nevnt=$2
0016 jet_R=$3
0017 out_name=$4
0018 min_lead_truth_pt=$5
0019 calo_list=$6
0020 jettruth_list=$7
0021 bbc_list=$8
0022 global_list=$9
0023 truthg4_list=${10}
0024 verbosity=${11}
0025 
0026 echo root.exe -q -l $1\($nevnt,$jet_R,\"$out_name\",$min_lead_truth_pt,\"$calo_list\",\"$jettruth_list\",\"$bbc_list\",\"$global_list\",\"$truthg4_list\",0\);
0027 root.exe -q -l $1\($nevnt,$jet_R,\"$out_name\",$min_lead_truth_pt,\"$calo_list\",\"$jettruth_list\",\"$bbc_list\",\"$global_list\",\"$truthg4_list\",0\);
0028 
0029 echo all done