Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:13:25

0001 #!/bin/bash
0002 #UN=jocl
0003 source /opt/sphenix/core/bin/sphenix_setup.sh -n new
0004 source /opt/sphenix/core/bin/setup_local.sh /sphenix/user/jocl/projects/testinstall/
0005 export HOME=/sphenix/u/jocl
0006 
0007 #rm anaoutput.txt
0008 #rm -rf srces
0009 #for rn in `tail -n 24 fullgoodrunlist.list | head -n 19`; do #op5mrad.list`; do #`cat fullgoodrunlist.list`; do
0010 line=$(( $1 + 1 ))
0011 rn=`head -n $line fullgoodrunlist.list | tail -n 1`
0012     #mkdir -p srces
0013 
0014     #for file in `ls -v /sphenix/tg/tg01/jets/${UN}/trigcount/${rn}/*`; do
0015     #   echo $file
0016         #cp $file ./srces
0017     #done
0018 echo $rn
0019 nfile=`ls /sphenix/user/jocl/projects/trigcount_files/${rn} | wc -l`
0020 
0021 root -b -q -l "analyze.C(${rn},${nfile})" #>> anaoutput.txt
0022 
0023 mv triggeroutput_nblair_${rn}.root output/added_nblair/
0024     #rm -rf srces
0025 #done