Changeset 7982
- Timestamp:
- 09/28/06 10:33:17 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7981 r7982 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2006/09/28 Daniela Dorner 22 23 * datacenter/scripts/checkfilesforsequenceavail, 24 datacenter/scripts/runcallisto: 25 - improved processlog 26 27 * datacenter/scripts/setup, datacenter/scripts/linkmc, 28 datacenter/scripts/mcsequences, 29 datacenter/scripts/processmcsequences: 30 - moved mcpath to setup 31 - updated mcpath 32 33 20 34 21 35 2006/09/28 Thomas Bretz -
trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail
r7954 r7982 93 93 ;; 94 94 *) echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 95 printprocesslog "ERROR $program.C failed "95 printprocesslog "ERROR $program.C failed for sequence $sequence" 96 96 com=$Ffilesavail 97 97 check=$check1 -
trunk/MagicSoft/Mars/datacenter/scripts/linkmc
r7967 r7982 31 31 # 32 32 # original structure: 33 # /m ontecarlo/camera/33 # /magic/montecarlo/camera/ 34 34 # 35 35 # new structure: 36 # /m ontecarlo/rawfiles/YYYY/MM/DD/file.root36 # /magic/montecarlo/rawfiles/YYYY/MM/DD/file.root 37 37 # more explanation concerning the file structure can be found in the file 38 # /m ontecarlo/rawfiles/README.txt38 # /magic/montecarlo/rawfiles/README.txt 39 39 # 40 40 # First the data files are linked and then in each new directory also the … … 55 55 checklock >> $scriptlog 2>&1 56 56 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 57 mccampath=$mcpath/camera 58 next=$mcrawpath/.next #in .next the next runno is stored 59 processed=$mcrawpath/.processed #in .processed the linked files are stored 60 readme=$mcrawpath/README.txt #file in which the information about the modes is redirected to have always an updated explanation 62 61 63 62 # check if file with next runnumber is available … … 163 162 project=${particle}${zbin}${wobblemode} #build project name 164 163 #create new filename 165 newfile="$mc path/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" 166 165 newdir=`dirname $newfile` 167 166 makedir $newdir >> $scriptlog 2>&1 … … 194 193 195 194 #get all directories in the linked structure 196 dirs=`find $mc path -type d`195 dirs=`find $mcrawpath -type d` 197 196 198 197 for dir in ${dirs[@]} -
trunk/MagicSoft/Mars/datacenter/scripts/mcsequences
r7968 r7982 47 47 checklock >> $scriptlog 2>&1 48 48 49 mcpath=/montecarlo/rawfiles50 mcsequpath=/montecarlo/sequences51 52 49 # find montecarlo directories, build one sequence per directory and write sequence file 53 50 printprocesslog "INFO building one sequence per mcdirectory" 54 dirs=`find $mc path -type d`51 dirs=`find $mcrawpath -type d` 55 52 for dir in ${dirs[@]} 56 53 do -
trunk/MagicSoft/Mars/datacenter/scripts/processmcsequences
r7944 r7982 45 45 checklock >> $scriptlog 2>&1 46 46 47 mcpath=/montecarlo/rawfiles 48 mccalpath=/montecarlo/callisto 49 mcimgpath=/montecarlo/star 50 mcsequpath=/montecarlo/sequences 47 mccalpath=$mcpath/callisto 48 mcimgpath=$mcpath/star 51 49 callistorc=$setuppath/callisto/callisto.rc 52 50 … … 89 87 fi 90 88 # calibrate data 91 echo "./callisto -mc -f -b -q --ind=$mc path/$date --log=$caloutpath/callisto$sequno.log --html=$caloutpath/callisto$sequno.html --out=$caloutpath --config=$callistorcseq $sequfile 2>> $scriptlog > /dev/null" >> $scriptlog 2>&192 ./callisto -mc -f -b -q --ind=$mc path/$date --log=$caloutpath/callisto$sequno.log --html=$caloutpath/callisto$sequno.html --out=$caloutpath --config=$callistorcseq $sequfile 2>> $scriptlog > /dev/null89 echo "./callisto -mc -f -b -q --ind=$mcrawpath/$date --log=$caloutpath/callisto$sequno.log --html=$caloutpath/callisto$sequno.html --out=$caloutpath --config=$callistorcseq $sequfile 2>> $scriptlog > /dev/null" >> $scriptlog 2>&1 90 ./callisto -mc -f -b -q --ind=$mcrawpath/$date --log=$caloutpath/callisto$sequno.log --html=$caloutpath/callisto$sequno.html --out=$caloutpath --config=$callistorcseq $sequfile 2>> $scriptlog > /dev/null 93 91 check1=$? 94 92 # if calibration worked -> run star for sequence -
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7944 r7982 187 187 ;; 188 188 *) echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 189 printprocesslog "ERROR $program failed for sequence $sequence "189 printprocesslog "ERROR $program failed for sequence $sequence (return code $check1)" 190 190 com=$Fcallisto 191 191 check=$check1 -
trunk/MagicSoft/Mars/datacenter/scripts/setup
r7976 r7982 48 48 datasetpath=/magic/datasets 49 49 50 mcpath=/magic/montecarlo 51 mcrawpath=$mcpath/rawfiles 52 mcsequpath=$mcpath/sequences 50 53 51 54 webpath=/www/htdocs/datacenter
Note:
See TracChangeset
for help on using the changeset viewer.