Changeset 7052 for trunk


Ignore:
Timestamp:
05/17/05 17:08:26 (20 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7051 r7052  
    107107     - added (script that executes checkstardone.C for all datasets
    108108
    109    * datacenter/scripts/checkfilesforsequenceavail
     109   * datacenter/scripts/checkfilesforsequenceavail, fillcallisto,
     110     fillstar
    110111     - fixed bug
    111112
    112    * datacenter/scripts/doexclusions
    113      - adapted paths
    114 
    115    * datacenter/scripts/buildsequenceentries
     113   * datacenter/scripts/buildsequenceentries, doexclusions,
     114     writesequencefiles
    116115     - adapted paths
    117116
  • trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto

    r7030 r7052  
    104104for sequence in ${sequences[@]}
    105105do
    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
    111112   echo "fillcallistologpath: "$fillcallistologpath >> $scriptlog 2>&1
    112113   if [ ! -d $fillcallistologpath ]
     
    136137      1)   echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1
    137138           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
    139140           if [ ! -d $setstatuslogpath ]
    140141           then
  • trunk/MagicSoft/Mars/datacenter/scripts/fillstar

    r7030 r7052  
    105105do
    106106   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
    110111   echo "fillstarlogpath: "$fillstarlogpath >> $scriptlog 2>&1
    111112   if [ ! -d $fillstarlogpath ]
     
    125126      1)   echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1
    126127           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
    128129           if [ ! -d $setstatuslogpath ]
    129130           then
  • trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles

    r7030 r7052  
    104104for sequence in ${sequences[@]}
    105105do
    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
    109109   if [ ! -d $sequencepath ]
    110110   then
     
    117117   fi
    118118
    119    writesequencefilelogpath=$logpath/writesequencefile/`printf %04d $no`
     119   writesequencefilelogpath=$logpath/writesequencefile/$no
    120120   echo "writesequencefilelogpath: "$writesequencefilelogpath >> $scriptlog 2>&1
    121121   if [ ! -d $writesequencefilelogpath ]
     
    130130
    131131   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)//'`
    133133   case $check2 in
    134134      1)   echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1
    135135           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
    137137           if [ ! -d $setstatuslogpath ]
    138138           then
     
    144144             fi
    145145           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)//'`
    148148           case $check4 in
    149149             1)   echo "check4=$check4 -> everthing ok, status has been set" >> $scriptlog 2>&1;;
Note: See TracChangeset for help on using the changeset viewer.