Changeset 8433 for trunk/MagicSoft/Mars/datacenter/scripts/linkmc
- Timestamp:
- 04/23/07 19:58:21 (19 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  trunk/MagicSoft/Mars/datacenter/scripts/linkmc (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/MagicSoft/Mars/datacenter/scripts/linkmcr7982 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 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
