Changeset 8293


Ignore:
Timestamp:
02/03/07 14:17:41 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8288 r8293  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2007/02/03 Thomas Bretz
     22
     23   * mhist/MHCamEvent.[h,cc]:
     24     - added Draw function to context menu
     25     - added GetHist member functions
     26     - added possibility to display the relative error
     27
     28   * mjobs/MJCalibration.cc:
     29     - read the hi-/lo-gain calibration constants from a MHCamEvent
     30       which is stored in a root file given in resources/hilocalib.rc
     31
     32   * msignal/MExtractTimeAndCharge.cc:
     33     - improved the estimation in GetSaturationTime for the cases in
     34       which the saturating pulse is so early, that an normal
     35       interpolation is not appropriate.
     36
     37
    2038
    2139 2007/02/02 Thomas Bretz
  • trunk/MagicSoft/Mars/NEWS

    r8287 r8293  
    3939       of very late pulses in single pixels or of huge hadron showers.
    4040
     41   - callisto: New hi-/lo-gain calibration constants have been produced
     42     for all periods from the statistic of the whole period. They are
     43     now used automatically depending on the periods. The old constants
     44     where deviation in avarega about 2%-3%. The constants are very
     45     stable from period to period (<<1%) except for exchanged channels.
     46     In a few cases the constants used so far were off by 1%-2% (maybe
     47     temperature effects?)
     48
    4149   - callisto: To gain obsolete space we do not write the
    4250     MPedestalFundamental anymore. Also calibration and bad pixel
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc

    r8207 r8293  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.59 2006-11-02 17:44:09 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.60 2007-02-03 14:16:12 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    176176    if (sat0<=0)
    177177        return 0;
     178    if (sat0==1)
     179        return sig[0]>maxcont/2 ? 0 : 0.5;
     180
     181    if (sig[p]>sig[p+1] || sig[p+1]>sig[p+2])
     182        return sat[p+1]>maxcont/2 ? sat0-1 : sat0-0.5;
    178183
    179184    // Find the place at which the signal is maxcont/2
Note: See TracChangeset for help on using the changeset viewer.