- Timestamp:
- 05/17/05 17:08:26 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7051 r7052 107 107 - added (script that executes checkstardone.C for all datasets 108 108 109 * datacenter/scripts/checkfilesforsequenceavail 109 * datacenter/scripts/checkfilesforsequenceavail, fillcallisto, 110 fillstar 110 111 - fixed bug 111 112 112 * datacenter/scripts/doexclusions 113 - adapted paths 114 115 * datacenter/scripts/buildsequenceentries 113 * datacenter/scripts/buildsequenceentries, doexclusions, 114 writesequencefiles 116 115 - adapted paths 117 116 -
trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto
r7030 r7052 104 104 for sequence in ${sequences[@]} 105 105 do 106 no=`printf %08d $sequence | cut -c 4` 107 path="/magic/data/callisto/"`printf %04d $no`"/"`printf %08d $sequence` 108 signalfile=$path/signal`printf %08d $sequence`.root 109 calibfile=$path/calib`printf %08d $sequence`.root 110 fillcallistologpath=$logpath/fillcallisto/`printf %04d $no` 106 no=`printf %08d $sequence | cut -c 0-4` 107 no2=`printf %08d $sequence` 108 path="/magic/data/callisto/$no/$no2" 109 signalfile=$path/signal$no2.root 110 calibfile=$path/calib$no2.root 111 fillcallistologpath=$logpath/fillcallisto/$no 111 112 echo "fillcallistologpath: "$fillcallistologpath >> $scriptlog 2>&1 112 113 if [ ! -d $fillcallistologpath ] … … 136 137 1) echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1 137 138 echo "-> inserting the status for fillcallisto for sequence $sequence into the db" >> $scriptlog 2>&1 138 setstatuslogpath=$logpath/setstatus/fillcallisto/ `printf %04d $no`139 setstatuslogpath=$logpath/setstatus/fillcallisto/$no 139 140 if [ ! -d $setstatuslogpath ] 140 141 then -
trunk/MagicSoft/Mars/datacenter/scripts/fillstar
r7030 r7052 105 105 do 106 106 no=`printf %08d $sequence | cut -c 4` 107 path="/magic/data/star/"`printf %04d $no`"/"`printf %08d $sequence` 108 starfile=$path/star`printf %08d $sequence`.root 109 fillstarlogpath=$logpath/fillstar/`printf %04d $no` 107 no2=`printf %08d $sequence` 108 path="/magic/data/star/$no/$no2" 109 starfile=$path/star$no2.root 110 fillstarlogpath=$logpath/fillstar/$no 110 111 echo "fillstarlogpath: "$fillstarlogpath >> $scriptlog 2>&1 111 112 if [ ! -d $fillstarlogpath ] … … 125 126 1) echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1 126 127 echo "-> inserting the status for fillstar for sequence $sequence into the db" >> $scriptlog 2>&1 127 setstatuslogpath=$logpath/setstatus/fillstar/ `printf %04d $no`128 setstatuslogpath=$logpath/setstatus/fillstar/$no 128 129 if [ ! -d $setstatuslogpath ] 129 130 then -
trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles
r7030 r7052 104 104 for sequence in ${sequences[@]} 105 105 do 106 no=`printf %08d $sequence | cut -c 4`107 108 sequencepath=/magic/sequences/ `printf %04d $no`106 no=`printf %08d $sequence | cut -c 0-4` 107 no2=`printf %08d $sequence` 108 sequencepath=/magic/sequences/$no 109 109 if [ ! -d $sequencepath ] 110 110 then … … 117 117 fi 118 118 119 writesequencefilelogpath=$logpath/writesequencefile/ `printf %04d $no`119 writesequencefilelogpath=$logpath/writesequencefile/$no 120 120 echo "writesequencefilelogpath: "$writesequencefilelogpath >> $scriptlog 2>&1 121 121 if [ ! -d $writesequencefilelogpath ] … … 130 130 131 131 echo "write sequencefile for sequence $sequence" >> $scriptlog 2>&1 132 check2=`root -q -b $macrospath/writesequencefile.C+\($sequence\) | tee $writesequencefilelogpath/writesequencefile-$ sequence.log | grep int | sed -e 's/(int)//'`132 check2=`root -q -b $macrospath/writesequencefile.C+\($sequence\) | tee $writesequencefilelogpath/writesequencefile-$no2.log | grep int | sed -e 's/(int)//'` 133 133 case $check2 in 134 134 1) echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1 135 135 echo "-> inserting the status for writesequencefile for sequence $sequence into the db" >> $scriptlog 2>&1 136 setstatuslogpath=$logpath/setstatus/writesequencefile/ `printf %04d $no`136 setstatuslogpath=$logpath/setstatus/writesequencefile/$no 137 137 if [ ! -d $setstatuslogpath ] 138 138 then … … 144 144 fi 145 145 fi 146 setstatuslog=$setstatuslogpath/setstatus-writesequencefile 147 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog -$sequence.log| grep int | sed -e 's/(int)//'`146 setstatuslog=$setstatuslogpath/setstatus-writesequencefile-$no2.log 147 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 148 148 case $check4 in 149 149 1) echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
Note:
See TracChangeset
for help on using the changeset viewer.