Ignore:
Timestamp:
12/10/03 11:54:33 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MCalibrationCalc.cc

    r2628 r2631  
    313313        else
    314314            mid  = pixel.GetIdxMaxHiGainSample();
    315 
    316315
    317316        MCalibrationPix &pix = (*fCalibrations)[pixid];
     
    391390{
    392391
     392
    393393  *fLog << inf << endl;
    394394  *fLog << GetDescriptor() << " Cut Histogram Edges" << endl;
  • trunk/MagicSoft/Mars/manalysis/MCalibrationCam.cc

    r2627 r2631  
    439439      val = (*this)[idx].GetRSigma();
    440440      break;
     441    case 15:
     442      val = (*this)[idx].GetSigmaCharge()/(*this)[idx].GetCharge();
     443      break;
    441444    case 11:
    442445      val = (*this)[idx].GetPheFFactorMethod();
  • trunk/MagicSoft/Mars/manalysis/MCalibrationPix.cc

    r2629 r2631  
    6060      fPheFFactorMethod(-1.),
    6161      fConversionFFactorMethod(-1.),
    62       fHiGainSaturation(kFALSE)
     62      fHiGainSaturation(kFALSE),
     63      fLoGainPedRms(4.)
    6364{
    6465
     
    137138  if ((fPed > 0.)  && (fPedRms > 0.))
    138139    {
    139      
    140     fRSigma       = (fSigmaCharge*fSigmaCharge) - (fPedRms*fPedRms);
     140
     141      if (fHiGainSaturation)
     142        fRSigma = (fSigmaCharge*fSigmaCharge) - (fLoGainPedRms*fLoGainPedRms);
     143      else
     144        fRSigma = (fSigmaCharge*fSigmaCharge) - (fPedRms*fPedRms);
    141145
    142146    if (fRSigma > 0. )
  • trunk/MagicSoft/Mars/manalysis/MCalibrationPix.h

    r2627 r2631  
    3333
    3434  Bool_t fHiGainSaturation;     // Is Lo-Gain used at all?
     35
     36  Float_t fLoGainPedRms;
    3537
    3638  MHCalibrationPixel *fHist;    //! Pointer to the histograms performing the fits, etc. 
  • trunk/MagicSoft/Mars/manalysis/MExtractSignal.cc

    r2627 r2631  
    5757//
    5858MExtractSignal::MExtractSignal(const char *name, const char *title)
    59   : fSaturationLimit(250),
     59  : fSaturationLimit(255),
    6060    fConversionHiLo(10.)
    6161{
     
    173173        UInt_t max  = pixel.GetMaxHiGainSample();
    174174
    175         if (max < fSaturationLimit)  // take Hi Gain, no saturation
     175        if (max <= fSaturationLimit)  // take Hi Gain, no saturation
    176176          {
    177177            sum = (float)pixel.GetSumHiGainSamples() - pedes*fNumHiGainSamples; 
Note: See TracChangeset for help on using the changeset viewer.