Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:30

0001 #!/usr/bin/sh
0002 
0003 # runs with a production file path, run number, and segment number you want to look at
0004 # for example, sh make_rawhit_filelist.sh /sphenix/lustre01/sphnxpro/production/run2pp/physics/ana464_nocdbtag_v001/ 53877 0
0005 
0006 productionpath=$1
0007 run=$2
0008 seg=$3
0009 
0010 runnumber=$(printf "%08d" $run)
0011 segment=$(printf "%05d" $seg)
0012 
0013 lrun=$(( $run / 100 * 100 ))
0014 hrun=$(( $run / 100 * 100 + 100 ))
0015 lowrun=$(printf "%08d" $lrun)
0016 hirun=$(printf "%08d" $hrun)
0017 ls $productionpath/DST_STREAMING_EVENT*/run_$lowrun\_$hirun/dst/*-$runnumber-$segment.root > filelist.list