Changeset 2908 for trunk


Ignore:
Timestamp:
01/24/04 14:31:38 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2907 r2908  
    66
    77 2004/01/24: Abelardo Moralejo
     8
     9   * macros/starmcstereo.C
     10     - Added. Example of how to run the analysis chain for MC files
     11       containing simulation of stereo systems of 2 telescopes.
    812
    913   * mcalib/MCalibrate.cc
  • trunk/MagicSoft/Mars/mcalib/MCalibrate.cc

    r2896 r2908  
    144144      else
    145145        {
    146           signal = sig.GetExtractedSignalHiGain();
     146          if (sig.GetExtractedSignalHiGain() > 9999.)
     147            {
     148              signal = 0.;
     149              signalErr = 0.;
     150            }
     151          else
     152            signal = sig.GetExtractedSignalHiGain();
    147153        }
    148      
     154
    149155      //      Float_t calibrationConversionFactor = pix.GetMeanConversionFFactorMethod();
    150156      const Float_t calibrationConversionFactor      = pix.GetMeanConversionBlindPixelMethod();
     
    162168     
    163169      MCerPhotPix *cpix = fCerPhotEvt->AddPixel(pixid, nphot, nphotErr);
    164      
     170
    165171      if (sig.GetNumLoGainSaturated() > 0)
    166172          cpix->SetPixelSaturated();
Note: See TracChangeset for help on using the changeset viewer.