Changeset 8433 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/23/07 19:58:21 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8431 r8433  
    1919                                                 -*-*- END OF LINE -*-*-
    2020
     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
    2132 2007/04/20 Daniel Hoehne
    2233
  • trunk/MagicSoft/Mars/datacenter/scripts/linkmc

    r7982 r8433  
    124124   file=`basename $camfile` #filename
    125125   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
    129127   zbin=`echo $file | cut -d_ -f2 | cut -c 5-6` #zbin from filename
    130128   zbin=`printf %02d $zbin` #2digit
     
    215213   
    216214   #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"
    220216   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"
    224218   ln -sv $pedfile $newpedfile >> $scriptlog 2>&1
    225219done
  • trunk/MagicSoft/Mars/datacenter/scripts/runganymed

    r8009 r8433  
    6767
    6868datasetfile="$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
     70if grep 'WobbleMode:' $datasetfile >/dev/null
    7371then
    74    mode="wobble" >> $scriptlog 2>&1
     72   ganymedrc=$setuppath/ganymed/ganymed_wobble.rc
    7573else
    76    mode="onoff" >> $scriptlog 2>&1
     74   ganymedrc=$setuppath/ganymed/ganymed_onoff.rc
    7775fi
    78 ganymedrc=$setuppath/ganymed/ganymed_$mode.rc
    7976
    8077setstatus "start" >> $scriptlog 2>&1
    8178
     79echo "./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
    8280./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
    8381check1=$?
Note: See TracChangeset for help on using the changeset viewer.