Ignore:
Timestamp:
01/10/06 22:12:58 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7453 r7460  
    2020#   Author(s): Daniela Dorner  12/2005 <mailto:dorner@astro.uni-wuerzburg.de>
    2121#
    22 #   Copyright: MAGIC Software Development, 2000-2004
     22#   Copyright: MAGIC Software Development, 2000-2006
    2323#
    2424#
    2525# ========================================================================
    2626#
     27# This script is linking the montecarlo files from the original structure
     28# to a structure from which the files can be processed more easily with the
     29# automatic analysis.
     30# This script is not yet running automatically.
     31#
     32# original structure:
     33# /montecarlo/camera/
     34#
     35# new structure:
     36# /montecarlo/rawfiles/YYYY/MM/DD/file.root
     37# more explanation concerning the file structure can be found in the file
     38# /montecarlo/rawfiles/README.txt
     39#
     40# First the data files are linked and then in each new directory also the
     41# pedestal and calibration file is linked.
    2742#
    2843
     
    3853date >> $scriptlog 2>&1
    3954
     55# check if script is already running
    4056lockfile=$lockpath/lock-mclinks.txt
    4157date > $lockfile >> $scriptlog 2>&1
     
    5066esac
    5167
    52 
    5368mccampath=/montecarlo/camera
    5469mcpath=/montecarlo/rawfiles
     
    5772readme=$mcpath/README.txt #file in which the information about the modes is redirected to have always an updated explanation
    5873
     74# check if file with next runnumber is available
    5975if ! ls $next >> $scriptlog 2>&1
    6076then
     
    6480fi
    6581
    66 date >| $readme 2>&1
    67 
    68 
     82
     83# observation modes
    6984modes=("" "Gammawobble+" "Gammanowobble0" "GammawobbleHE+" "GammanowobbleHE0" "Gammawobble0" "GammawobbleHE0" "Gammadiffuse0" "Protonnowobble0" )
    70 
    7185#be carful:
    7286# w- not yet foreseen in this script
    7387
     88# print information and explanation of structure into README.txt
     89date >| $readme 2>&1
    7490echo "" >> $readme 2>&1
    7591echo "Explanation for the structure in which the mc files are linked" >> $readme 2>&1
     
    218234done
    219235
    220 
    221236rm -v $lockfile >> $scriptlog 2>&1
    222237
     
    225240date  >> $scriptlog 2>&1
    226241
    227 
Note: See TracChangeset for help on using the changeset viewer.