Changeset 7883 for trunk


Ignore:
Timestamp:
08/17/06 20:40:37 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7882 r7883  
    2626     - small update to output
    2727
     28   * msignal/MExtractTimeAndCharge.cc:
     29     - mark the lo-gains only as valid if they are really extracted
     30
    2831
    2932
     
    3336     - fixed usage of substitutions
    3437
    35    * MMcConfigRunHeader.[h,cc]:
     38   * mmc/MMcConfigRunHeader.[h,cc]:
    3639     - added fParaboloidFocal
    3740     - increased class version by 1
    3841     - updated comments
    3942
    40    * MMcEvt.[hxx,cxx]:
     43   * mmc/MMcEvt.[hxx,cxx]:
    4144     - added fEventReuse
    4245     - increased class version by 1
    4346     - updates to comments
    4447
    45    * MMcEvtBasic.h:
     48   * mmc/MMcEvtBasic.h:
    4649     - replaced private by protected
    4750
    48    * MMcFadcHeader.hxx:
     51   * mmc/MMcFadcHeader.hxx:
    4952     - updates to comments
    5053     - update to global ifdef
    5154
    52    * MMcRunHeader.[hxx,cxx]:
     55   * mmc/MMcRunHeader.[hxx,cxx]:
    5356     - added fRandomPointingConeSemiAngle
    5457     - increased class version by 1
     
    5659     - removed empty destructor
    5760
    58    * MMcTrig.hxx:
     61   * mmc/MMcTrig.hxx:
    5962     - updated preprocessor directives
    6063
    61    * MMcTrigHeader.[hxx,cxx]:
     64   * mmc/MMcTrigHeader.[hxx,cxx]:
    6265     - updated comments
    6366     - removed empty destructor
    6467     - updated preprocessor directives
    6568
    66    * MTriggerDefine.h, Mdefine.h:
     69   * mmc/MTriggerDefine.h, mmc/Mdefine.h:
    6770     - updated preprocessor directives
    6871
  • trunk/MagicSoft/Mars/NEWS

    r7876 r7883  
    3030   - callisto: Callisto now raises an error if one of the input files could
    3131     not be opened.
     32
     33   - callisto: The lo-gains have been marked as valid in some cases
     34     when they got not extracted at all (deltsumlo=deltatimelo=0) because
     35     the allowed extraction range (fLoGainLast-fLoGainFirst) was
     36     smaller than the number of slices (fLoGainWindowSize) needed
     37     by the lo-gain extractor
    3238
    3339   - callisto: Updated absolute calibration constants (muon calibration)
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc

    r7844 r7883  
    270270      if (pixel.HasLoGain() && (fMaxBinContent > fLoGainSwitch /*|| sathi>0*/) )
    271271      {
    272           deltasumlo  = 0; // make logain of MExtractedSignalPix valid
    273           deltatimelo = 0; // make logain of MArrivalTimePix valid
    274 
    275272          fLoGainFirstSave = fLoGainFirst;
    276273
     
    281278          const Float_t pos = sathi==0 ? timehi : (int)(sathi)-3;
    282279
    283           if (pos>-fLoGainStartShift)
     280          if (pos+fLoGainStartShift>0)
    284281              fLoGainFirst = (Byte_t)(pos + fLoGainStartShift);
    285282
     
    289286          if (fLoGainFirst <= fLoGainLast-fWindowSizeLoGain)
    290287          {
     288              deltasumlo  = 0; // make logain of MExtractedSignalPix valid
     289              deltatimelo = 0; // make logain of MArrivalTimePix valid
     290
    291291              const Bool_t logainabflag = (higainabflag + pixel.GetNumHiGainSamples()) & 0x1;
    292292              FindTimeAndChargeLoGain(pixel.GetLoGainSamples()+fLoGainFirst,
Note: See TracChangeset for help on using the changeset viewer.