Changeset 9068 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
08/02/08 12:11:21 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9066 r9068  
    1919                                                 -*-*- END OF LINE -*-*-
    2020
     21 2008/08/02 Thomas Bretz
     22
     23   * datacenter/scripts/dbchk:
     24     - if the regular expression in sed doesn't find anything
     25       nothing is replaced (this case is now handled)
     26
     27   * mjobs/MJPedestal.cc:
     28     - removed the obsolete shift variable in PosePosCheck
     29     - do not allow lo-gain starts < 0
     30
     31   * msignal/MExtractTimeAndCharge.cc:
     32     - changed lo-gain stat sift to -1.0 (which is the valie which
     33       in use anyway)
     34
     35   * msignal/MExtractTimeAndCharge.h:
     36    - do not add the lo-gain offset wehen setting the start-shift
     37
     38   * msignal/MExtractor.cc:
     39     - make sure Print() prints the class description
     40
     41
     42
    2143 2008/08/01 Thomas Bretz
    2244
     
    2648   * resources/starguider00328198.txt:
    2749     - added
     50
     51   * datacenter/macros/plotdb.C:
     52     - added fMedNumPheInner/outer
     53     - added fRelChargeRmsOuter
     54
     55   * mbase/MStatusDisplay.[h,cc]:
     56     - added %%title%% as a possibility in the filename
     57     - added some code to write an XML instead of a csv file
     58       (still not in-use)
     59
     60   * mjobs/MJCut.cc, mjobs/MJSpectrum.cc:
     61     - replaced RunNumber by FileId
     62
    2863
    2964
     
    11401175
    11411176   * mbase/MStatusDisplay.cc:
    1142      - replacedMTime by TDatime
     1177     - replaced MTime by TDatime
    11431178
    11441179   * mcamera/MCameraRecTemp.[h,cc], mcamera/MCameraTD.[h,cc],
  • trunk/MagicSoft/Mars/NEWS

    r9066 r9068  
    2828   * MReadTree can now read also files not written by MARS and store
    2929     the data encapsulated in emulated MParContainers
     30
     31   * Added the median number of photo electrons from the calibration
     32     pulses to the db (fMedNumPheInner, fMedNumPheOuter) and the relative
     33     error of their raw counts (fRelChargeRmsInner, fRelChargeRmsOuter)
    3034
    3135   * added a new starguider calibration valid since 15.1.08
  • trunk/MagicSoft/Mars/datacenter/scripts/dbchk

    r9047 r9068  
    8989do
    9090   sequence=`echo $file | sed -e "s/^.*\/sequence0\+\([0-9]\+\)\.txt$/\1/"`
    91    if [ "$sequence" = "" ]
     91   if [ "$sequence" = "" ] || [ "$sequence" = "$file" ]
    9292   then
    9393      echo "No sequence file: $file" >> $scriptlog 2>&1
     
    9595      continue
    9696   fi
    97   
     97 
    9898   var=`echo SELECT fSequenceFirst FROM Sequences WHERE fSequenceFirst=$sequence | mymysql`
    9999   if ! [ "$sequence" = "$var" ]
     
    111111do
    112112   sequence=`echo $dir | sed -e "s/^.*\/0\+\([0-9]\+\)$/\1/"`
    113    if [ "$sequence" = "" ]
     113   if [ "$sequence" = "" ] || [ "$sequence" = "$dir" ]
    114114   then
    115115      echo "Invalid directory: $dir" >> $scriptlog 2>&1
     
    133133do
    134134   sequence=`echo $dir | sed -e "s/^.*\/0\+\([0-9]\+\)$/\1/"`
    135    if [ "$sequence" = "" ]
     135   if [ "$sequence" = "" ] || [ "$sequence" = "$dir" ]
    136136   then
    137137      echo "Invalid directory: $dir" >> $scriptlog 2>&1
  • trunk/MagicSoft/Mars/mjobs/MJPedestal.cc

    r9017 r9068  
    890890        // Set and store the new ranges
    891891        //
    892         Int_t shift = 0;
    893892        while (poslo2-fExtractWinLeft < lo0+0.5)
    894893        {
     
    903902        }
    904903
    905         *fLog << "Changed extraction window by " << shift;
    906         *fLog << "slices to hi-gain [" << hi0 << "," << hi1;
     904        if (lo0<0)
     905            lo0=0;
     906
     907        *fLog << "Changed extraction to hi-gain [" << hi0 << "," << hi1;
    907908        *fLog << "] and lo-gain [" << lo0 << "," << lo1 << "]" << endl;
    908909
Note: See TracChangeset for help on using the changeset viewer.