Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-07-16 08:12:44

0001 #!/usr/bin/env bash
0002 
0003 nevts="$1"
0004 indst_seed="$2"
0005 indst_calo="$3"
0006 outroot="$4"
0007 startevt="$5"
0008 
0009 echo "Nevts = ${nevts}"
0010 echo "In-DST-seed = ${indst_seed}"
0011 echo "In-DST-calo = ${indst_calo}"
0012 echo "Out-Root = ${outroot}"
0013 echo "Start-event = ${startevt}"
0014 
0015 source /opt/sphenix/core/bin/sphenix_setup.sh -n ana.538
0016 
0017 # Additional commands for my local environment
0018 
0019 #myinstall="/sphenix/user/mikemoto/SiCalo/siliconseedana/install"
0020 
0021 myinstall="/sphenix/user/hachiya/myrepo/analysis/SiCalo/install"
0022 source /opt/sphenix/core/bin/setup_local.sh "${myinstall}"
0023 
0024 
0025 echo "Fun4All_DST_SiliconSeedAna_run3pp.C(${nevts},\"${indst_seed}\",\"${indst_calo}\",\"${outroot}\",${startevt})"
0026 root -b -q "Fun4All_DataDST_SiliconSeedAna_run3pp.C(${nevts},\"${indst_seed}\",\"${indst_calo}\",\"${outroot}\",${startevt})"
0027 
0028 ls -lh "${outroot}" || echo "[WARN] output not found"
0029 
0030 echo "all done"
0031 date