Changeset 8433 for trunk/MagicSoft/Mars
- Timestamp:
- 04/23/07 19:58:21 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8431 r8433 19 19 -*-*- END OF LINE -*-*- 20 20 21 2007/04/23 Daniela Dorner 22 23 * datacenter/scripts/linkmc: 24 - removed workaround for 5-digit runnumbers 25 26 * datacenter/scripts/runganymed: 27 - adapted chosing of ganymed rc-file 28 - added output of ganymed command line 29 30 31 21 32 2007/04/20 Daniel Hoehne 22 33 -
trunk/MagicSoft/Mars/datacenter/scripts/linkmc
r7982 r8433 124 124 file=`basename $camfile` #filename 125 125 no=`printf %08d $runno | cut -c 0-5` #first 5 digits of a 8digit runno -> for path 126 # no2=`printf %08d $runno` #runno with 8 digits 127 # workaround due to 5digit runnumber for data with runnumber < 35487 128 no2=`printf %05d $runno` 126 no2=`printf %08d $runno` #runno with 8 digits 129 127 zbin=`echo $file | cut -d_ -f2 | cut -c 5-6` #zbin from filename 130 128 zbin=`printf %02d $zbin` #2digit … … 215 213 216 214 #create new filenames and link files 217 # workaround due to 5digit runnumber for data with runnumber < 35487 218 # newcalfile="${dir}/${date}_00000002_C_MonteCarlo_E.root" 219 newcalfile="${dir}/${date}_00002_C_MonteCarlo_E.root" 215 newcalfile="${dir}/${date}_00000002_C_MonteCarlo_E.root" 220 216 ln -sv $calfile $newcalfile >> $scriptlog 2>&1 221 # workaround due to 5digit runnumber for data with runnumber < 35487 222 # newpedfile="${dir}/${date}_00000001_P_MonteCarlo_E.root" 223 newpedfile="${dir}/${date}_00001_P_MonteCarlo_E.root" 217 newpedfile="${dir}/${date}_00000001_P_MonteCarlo_E.root" 224 218 ln -sv $pedfile $newpedfile >> $scriptlog 2>&1 225 219 done -
trunk/MagicSoft/Mars/datacenter/scripts/runganymed
r8009 r8433 67 67 68 68 datasetfile="$datasetpath/$no/dataset$no2.txt" 69 # get observation mode to choose ganymed.rc file 70 wobble=`grep 'WobbleMode:' $datasetfile` >> $scriptlog 2>&1 71 wobble2=`echo $wobble | grep ^\#` >> $scriptlog 2>&1 72 if [ "$wobble2" = "" ] 69 # choose ganymed.rc file 70 if grep 'WobbleMode:' $datasetfile >/dev/null 73 71 then 74 mode="wobble" >> $scriptlog 2>&172 ganymedrc=$setuppath/ganymed/ganymed_wobble.rc 75 73 else 76 mode="onoff" >> $scriptlog 2>&174 ganymedrc=$setuppath/ganymed/ganymed_onoff.rc 77 75 fi 78 ganymedrc=$setuppath/ganymed/ganymed_$mode.rc79 76 80 77 setstatus "start" >> $scriptlog 2>&1 81 78 79 echo "./ganymed -b -q -v4 -f --ind=$datapath/star --ins=$sequpath --config=$ganymedrc --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --out=$outpath $datasetfile " >> $scriptlog 2>&1 82 80 ./ganymed -b -q -v4 -f --ind=$datapath/star --ins=$sequpath --config=$ganymedrc --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --out=$outpath $datasetfile 2>> $scriptlog> /dev/null 83 81 check1=$?
Note:
See TracChangeset
for help on using the changeset viewer.