File indexing completed on 2025-08-03 08:20:29
0001
0002
0003 source /opt/sphenix/core/bin/sphenix_setup.sh -n new
0004
0005 echo "nevent is "$1
0006 echo "Run number is "$2
0007 echo "FELIX/Server/EBDC number is" $3
0008 echo "MVTX(0)/INTT(1)/TPC(2)/TPOT(3) is "$4
0009 echo "Outfile name is "$5
0010 echo "type is "$6
0011
0012 rm *.list
0013
0014 if [ $4 -eq 0 ]
0015 then
0016 filename=`printf "mvtx%01i.list" $3`
0017 echo "Processing filename "$filename
0018 sh gl1_makelist.sh $6 $2
0019 sh mvtx_makelist.sh $6 $2
0020 root -b -q Fun4All_SingleStream_Combiner.C\($1,$2,\"./\",\"$5\",\"gl1daq.list\",\"\",\"\",\"$filename\"\)
0021 elif [ $4 -eq 1 ]
0022 then
0023 filename=`printf "intt%01i.list" $3`
0024 echo "Processing filename "$filename
0025 sh gl1_makelist.sh $6 $2
0026 sh intt_makelist.sh $6 $2
0027 root -b -q Fun4All_SingleStream_Combiner.C\($1,$2,\"./\",\"$5\",\"gl1daq.list\",\"\",\"$filename\",\"\"\)
0028 elif [ $4 -eq 2 ]
0029 then
0030 filename=`printf "tpc%02i.list" $3`
0031 echo "Processing filename "$filename
0032 sh gl1_makelist.sh $6 $2
0033 sh tpc_makelist.sh $6 $2
0034 root -b -q Fun4All_SingleStream_Combiner.C\($1,$2,\"./\",\"$5\",\"gl1daq.list\",\"$filename\",\"\",\"\"\)
0035 elif [ $4 -eq 3 ]
0036 then
0037 filename="tpot.list"
0038 echo "Processing filename "$filename
0039 sh gl1_makelist.sh $6 $2
0040 sh tpot_makelist.sh $6 $2
0041 root -b -q Fun4All_SingleStream_Combiner.C\($1,$2,\"./\",\"$5\",\"gl1daq.list\",\"\",\"\",\"\",\"$filename\"\)
0042
0043 else
0044 echo "Unsupported number, exiting"
0045 fi