Changeset 8580 for trunk/MagicSoft


Ignore:
Timestamp:
06/18/07 15:37:24 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8579 r8580  
    3232     - changed old value for time difference to 3.0
    3333     - use the default value (3.0) in all files
     34
     35   * mbadpixels/MBadPixelsPix.h, mbadpixels/MBadPixelsCam.cc,
     36     mcalib/MCalibrationChargeCalc.cc:
     37     - renamed kFluctuatingArrivalTimes to kDeviatingAbsTimeResolution
    3438
    3539   * mbase/MMath.cc:
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc

    r8446 r8580  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.cc,v 1.50 2007-04-25 14:39:41 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.cc,v 1.51 2007-06-18 14:35:39 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    455455  *fLog << endl;
    456456
     457  // TO BE FIXED!!!
     458
    457459  PrintBadPixels(MBadPixelsPix::kPreviouslyExcluded,"Previously excluded");
    458460  PrintBadPixels(MBadPixelsPix::kChargeIsPedestal,"Signal smaller 3 Pedestal RMS");
     
    466468  PrintBadPixels(MBadPixelsPix::kLoGainOverFlow,"Low-Gain Histogram Overflow");
    467469  PrintBadPixels(MBadPixelsPix::kDeadPedestalRms,"Presumably dead from Ped. Rms");
    468   PrintBadPixels(MBadPixelsPix::kFluctuatingArrivalTimes,"Fluctuating Pulse Arrival Times");
     470//  PrintBadPixels(MBadPixelsPix::kFluctuatingArrivalTimes,"Fluctuating Pulse Arrival Times");
    469471
    470472  *fLog << endl;
    471473  *fLog << all << "Unreliable pixels statistics:" << endl;
    472474  *fLog << endl;
     475
     476  // TO BE FIXED!!!
    473477
    474478  PrintBadPixels(MBadPixelsPix::kChargeSigmaNotValid,"Signal Sigma smaller Pedestal RMS");
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h

    r8478 r8580  
    4848      kDeviatingNumPhots        = BIT(15),
    4949      kDeviatingFFactor         = BIT(16),
    50       kDeviatingTimeResolution  = BIT(17),
     50      kDeviatingRelTimeResolution  = BIT(17),
    5151      kConversionHiLoNotValid   = BIT(18),
    5252      kHiGainOverFlow           = BIT(19),
     
    5555      kHiLoOscillating          = BIT(22),
    5656      kDeadPedestalRms          = BIT(23),
    57       kFluctuatingArrivalTimes  = BIT(24),
    58       kLoGainBlackout           = BIT(25)
     57      kDeviatingAbsTimeResolution  = BIT(24),
     58      kLoGainBlackout           = BIT(25),
    5959    };
    6060   
     
    107107      if (IsUncalibrated( kDeadPedestalRms     ))    return 5;
    108108      if (IsUncalibrated( kDeviatingNumPhes    ))    return 6;
    109       if (IsUncalibrated( kFluctuatingArrivalTimes)) return 7;
    110       if (IsUncalibrated( kDeviatingTimeResolution)) return 8;
     109      //if (IsUncalibrated( kFluctuatingArrivalTimes)) return 7;
     110      if (IsUncalibrated( kDeviatingAbsTimeResolution)) return 7;
     111      if (IsUncalibrated( kDeviatingRelTimeResolution)) return 8;
    111112      if (IsUncalibrated( kLoGainBlackout      ))    return 9;
    112113      if (IsUncalibrated( kPreviouslyExcluded  ))    return 10;
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc

    r8544 r8580  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MCalibrationChargeCalc.cc,v 1.181 2007-06-11 15:35:14 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MCalibrationChargeCalc.cc,v 1.182 2007-06-18 14:36:16 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    746746            {
    747747                *fLog << warn << "Pixel  " << setw(4) << i << ": Abs-time rms could not be calculated." << endl;
    748                 (*fBadPixels)[i].SetUncalibrated(MBadPixelsPix::kDeviatingTimeResolution);
     748                (*fBadPixels)[i].SetUncalibrated(MBadPixelsPix::kDeviatingAbsTimeResolution);
    749749                continue;
    750750            }
     
    753753            {
    754754                *fLog << warn << "Pixel  " << setw(4) << i << ": Abs-time rms==0." << endl;
    755                 (*fBadPixels)[i].SetUncalibrated(MBadPixelsPix::kDeviatingTimeResolution);
     755                (*fBadPixels)[i].SetUncalibrated(MBadPixelsPix::kDeviatingAbsTimeResolution);
    756756                continue;
    757757            }
     
    764764                    << Form("[%4.2f,%4.2f]", lolim, hilim) << endl;
    765765
    766                 (*fBadPixels)[i].SetUncalibrated(MBadPixelsPix::kFluctuatingArrivalTimes);
     766                (*fBadPixels)[i].SetUncalibrated(MBadPixelsPix::kDeviatingAbsTimeResolution);
    767767            }
    768768        }
     
    949949  PrintUncalibrated(MBadPixelsPix::kLoGainOverFlow,   
    950950                    "Pixels with Low Gain Overflow :                   ");
    951   PrintUncalibrated(MBadPixelsPix::kFluctuatingArrivalTimes,
    952                     "Fluctuating Pulse Arrival Times:                  ");
     951//  PrintUncalibrated(MBadPixelsPix::kFluctuatingArrivalTimes,
     952//                    "Fluctuating Pulse Arrival Times:                  ");
     953  PrintUncalibrated(MBadPixelsPix::kDeviatingAbsTimeResolution,
     954                    Form("%s%2.1f%s ","Abs.time rms more than ", fArrTimeRmsLimit, " dev from median:      "));
    953955  PrintUncalibrated(MBadPixelsPix::kDeadPedestalRms,
    954956                    "Presumably dead from Pedestal Rms:                ");
     
    12451247      if (IsCheckArrivalTimes())
    12461248        {
    1247           if (bad.IsUncalibrated( MBadPixelsPix::kFluctuatingArrivalTimes ))
     1249          if (bad.IsUncalibrated( MBadPixelsPix::kDeviatingAbsTimeResolution ))
    12481250            bad.SetUnsuitable(   MBadPixelsPix::kUnsuitableRun    );
     1251          //if (bad.IsUncalibrated( MBadPixelsPix::kFluctuatingArrivalTimes ))
     1252          //  bad.SetUnsuitable(   MBadPixelsPix::kUnsuitableRun    );
    12491253        }
    12501254
Note: See TracChangeset for help on using the changeset viewer.