Changeset 7460 for trunk/MagicSoft/Mars/datacenter/scripts/linkmc
- Timestamp:
- 01/10/06 22:12:58 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/linkmc
r7453 r7460 20 20 # Author(s): Daniela Dorner 12/2005 <mailto:dorner@astro.uni-wuerzburg.de> 21 21 # 22 # Copyright: MAGIC Software Development, 2000-200 422 # Copyright: MAGIC Software Development, 2000-2006 23 23 # 24 24 # 25 25 # ======================================================================== 26 26 # 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. 27 42 # 28 43 … … 38 53 date >> $scriptlog 2>&1 39 54 55 # check if script is already running 40 56 lockfile=$lockpath/lock-mclinks.txt 41 57 date > $lockfile >> $scriptlog 2>&1 … … 50 66 esac 51 67 52 53 68 mccampath=/montecarlo/camera 54 69 mcpath=/montecarlo/rawfiles … … 57 72 readme=$mcpath/README.txt #file in which the information about the modes is redirected to have always an updated explanation 58 73 74 # check if file with next runnumber is available 59 75 if ! ls $next >> $scriptlog 2>&1 60 76 then … … 64 80 fi 65 81 66 date >| $readme 2>&1 67 68 82 83 # observation modes 69 84 modes=("" "Gammawobble+" "Gammanowobble0" "GammawobbleHE+" "GammanowobbleHE0" "Gammawobble0" "GammawobbleHE0" "Gammadiffuse0" "Protonnowobble0" ) 70 71 85 #be carful: 72 86 # w- not yet foreseen in this script 73 87 88 # print information and explanation of structure into README.txt 89 date >| $readme 2>&1 74 90 echo "" >> $readme 2>&1 75 91 echo "Explanation for the structure in which the mc files are linked" >> $readme 2>&1 … … 218 234 done 219 235 220 221 236 rm -v $lockfile >> $scriptlog 2>&1 222 237 … … 225 240 date >> $scriptlog 2>&1 226 241 227
Note:
See TracChangeset
for help on using the changeset viewer.