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_clus="$2"
0005 indst_seed="$3"
0006 indst_calo="$4"
0007 outroot="$5"
0008 startevt="$6"
0009 
0010 echo "Nevts = ${nevts}"
0011 echo "In-DST-clus = ${indst_clus}"
0012 echo "In-DST-seed = ${indst_seed}"
0013 echo "In-DST-calo = ${indst_calo}"
0014 echo "Out-Root = ${outroot}"
0015 echo "Start-event = ${startevt}"
0016 
0017 # source /opt/sphenix/core/bin/sphenix_setup.sh -n ana.516
0018 source /opt/sphenix/core/bin/sphenix_setup.sh -n ana.527
0019 #source /opt/sphenix/core/bin/sphenix_setup.sh -n ana.540
0020 #source /opt/sphenix/core/bin/sphenix_setup.sh 
0021 # source /opt/sphenix/core/bin/sphenix_setup.sh -n new
0022 
0023 # Additional commands for my local environment
0024 
0025 #myinstall="/sphenix/user/mikemoto/SiCalo/siliconseedana/install"
0026 
0027 myinstall="/sphenix/user/hachiya/myrepo/analysis/SiCalo/install"
0028 source /opt/sphenix/core/bin/setup_local.sh "${myinstall}"
0029 
0030 #export NOPAYLOADCLIENT_CONF=/sphenix/user/phnxbld/sPHENIX_newcdb.json
0031 
0032 echo "Fun4All_DST_SiliconSeedAna.C(${nevts},\"${indst_clus}\",\"${indst_seed}\",\"${indst_calo}\",\"${outroot}\",${startevt})"
0033 root -b -q "Fun4All_DataDST_SiliconSeedAna.C(${nevts},\"${indst_clus}\",\"${indst_seed}\",\"${indst_calo}\",\"${outroot}\",${startevt})"
0034 
0035 ls -lh "${outroot}" || echo "[WARN] output not found"
0036 
0037 echo "all done"
0038 date