Ignore:
Timestamp:
09/28/06 10:33:17 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/linkmc

    r7967 r7982  
    3131#
    3232# original structure:
    33 # /montecarlo/camera/
     33# /magic/montecarlo/camera/
    3434#
    3535# new structure:
    36 # /montecarlo/rawfiles/YYYY/MM/DD/file.root
     36# /magic/montecarlo/rawfiles/YYYY/MM/DD/file.root
    3737# more explanation concerning the file structure can be found in the file
    38 # /montecarlo/rawfiles/README.txt
     38# /magic/montecarlo/rawfiles/README.txt
    3939#
    4040# First the data files are linked and then in each new directory also the
     
    5555checklock  >> $scriptlog 2>&1
    5656
    57 mccampath=/montecarlo/camera
    58 mcpath=/montecarlo/rawfiles
    59 next=$mcpath/.next #in .next the next runno is stored
    60 processed=$mcpath/.processed #in .processed the linked files are stored
    61 readme=$mcpath/README.txt #file in which the information about the modes is redirected to have always an updated explanation
     57mccampath=$mcpath/camera
     58next=$mcrawpath/.next #in .next the next runno is stored
     59processed=$mcrawpath/.processed #in .processed the linked files are stored
     60readme=$mcrawpath/README.txt #file in which the information about the modes is redirected to have always an updated explanation
    6261
    6362# check if file with next runnumber is available
     
    163162   project=${particle}${zbin}${wobblemode} #build project name
    164163   #create new filename
    165    newfile="$mcpath/19$zbin/$totalmode/$psf/19${zbin}${totalmode}${psf}_${no2}_D_${project}_E.root"
     164   newfile="$mcrawpath/19$zbin/$totalmode/$psf/19${zbin}${totalmode}${psf}_${no2}_D_${project}_E.root"
    166165   newdir=`dirname $newfile`
    167166   makedir $newdir >> $scriptlog 2>&1
     
    194193
    195194#get all directories in the linked structure
    196 dirs=`find $mcpath -type d`
     195dirs=`find $mcrawpath -type d`
    197196
    198197for dir in ${dirs[@]}
Note: See TracChangeset for help on using the changeset viewer.