Changeset 5357


Ignore:
Timestamp:
11/09/04 15:07:50 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5355 r5357  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22
     23 2004/11/08: Markus Gaug
     24
     25   * mpedestal/MPedCalcFromLoGain.[h,cc]
     26     - corrected the documentation of the indiv. functions
     27     - some cosmetic changes
     28
     29   * mpedestal/MPedCalcPedRun.cc
     30     - previously the variable fNumLoGainSize was automatically set to
     31       2 in case that it was initialized to 0. This is a bugfix, since
     32       the default uses 0 slices (see e.g. MJPedestal) for the low-gain.
     33       The effect is rather small since the ped. RMS PER SLICE does not
     34       change so much by going up 2 slices, maybe 1-2% depending on the
     35       extraction window. The smaller the window, the bigger the
     36       relative error.
     37
    2238
    2339 2004/11/08: Abelardo Moralejo
  • trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.cc

    r5220 r5357  
    259259          << int(fWindowSizeLoGain) << " samples " << endl;
    260260   
    261 
    262     if (fWindowSizeHiGain == 0)
    263     {
    264         *fLog << warn;
    265         *fLog << GetDescriptor() << ": HiGain window currently set to 0, will set it to 2 samples " << endl;
    266         fWindowSizeHiGain = 2;
    267     }
    268    
    269     if (fWindowSizeLoGain == 0)
    270     {
    271         *fLog << warn;
    272         *fLog << GetDescriptor() << ": LoGain window currently set to 0, will set it to 2 samples " << endl;
    273         fWindowSizeLoGain = 2;
    274     }
    275 
     261  if (fWindowSizeHiGain == 0)
     262    {
     263      *fLog << warn;
     264      *fLog << GetDescriptor() << ": HiGain window currently set to 0, will set it to 2 samples " << endl;
     265      fWindowSizeHiGain = 2;
     266    }
     267 
    276268  const Byte_t availhirange = (fHiGainLast-fHiGainFirst+1) & ~1;
    277269  const Byte_t availlorange = (fLoGainLast-fLoGainFirst+1) & ~1;
Note: See TracChangeset for help on using the changeset viewer.