Ignore:
Timestamp:
04/23/07 19:58:21 (17 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.