Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:10:58

0001 #!/bin/bash
0002 # -----------------------------------------------------------------------------
0003 # 'RunCreateFileList.sh'
0004 # Derek Anderson
0005 # 11.10.2022
0006 #
0007 # Quick script to run CreateFileList.pl
0008 # with specified arguments.
0009 # -----------------------------------------------------------------------------
0010 
0011 # output parameter
0012 NAME="forTrackCutStudy_newMbHijingFiles"
0013 
0014 # CreateFileList.pl args
0015 RUN=6
0016 TYPE=6
0017 PILE=1
0018 FILE="G4Hits"
0019 
0020 # construct list prefix
0021 summ="run"$RUN"typ"$TYPE"pil"$PILE
0022 pref=$NAME"_"$summ
0023 
0024 # run script
0025 CreateFileList.pl -run $RUN -type $TYPE -pileup $PILE $FILE
0026 
0027 for list in *.list; do
0028   new=$pref"_"$list
0029   mv $list $new
0030 done
0031 
0032 # end -------------------------------------------------------------------------