Ignore:
Timestamp:
02/09/04 10:36:04 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc

    r3061 r3065  
    107107  CLRBIT(fFlags, kExcluded);
    108108  CLRBIT(fFlags, kExcludeQualityCheck);
    109   CLRBIT(fFlags, kChargeFitValid);
     109  CLRBIT(fFlags, kChargeValid);
    110110  CLRBIT(fFlags, kFitted);
    111111  CLRBIT(fFlags, kOscillating);
     
    258258// Set the Excluded Bit from outside
    259259//
    260 void MCalibrationPix::SetChargeFitValid(Bool_t b )   
    261 {
    262   b ?  SETBIT(fFlags, kChargeFitValid) : CLRBIT(fFlags, kChargeFitValid);
     260void MCalibrationPix::SetChargeValid(Bool_t b )   
     261{
     262  b ?  SETBIT(fFlags, kChargeValid) : CLRBIT(fFlags, kChargeValid);
    263263}
    264264
     
    443443 }
    444444
    445 Bool_t MCalibrationPix::IsChargeFitValid() const
    446 {
    447   return TESTBIT(fFlags, kChargeFitValid); 
     445Bool_t MCalibrationPix::IsChargeValid() const
     446{
     447  return TESTBIT(fFlags, kChargeValid); 
    448448}
    449449
     
    584584    ApplyLoGainConversion();
    585585
    586   if (CheckChargeFitValidity())
    587     SETBIT(fFlags,kChargeFitValid);
     586  if (CheckChargeValidity())
     587    SETBIT(fFlags,kChargeValid);
    588588  else
    589589    {
    590       CLRBIT(fFlags,kChargeFitValid);
     590      CLRBIT(fFlags,kChargeValid);
    591591      return kFALSE;
    592592    }
     
    751751// 5) Pixel has a charge sigma bigger than its Pedestal RMS
    752752//
    753 Bool_t MCalibrationPix::CheckChargeFitValidity()
     753Bool_t MCalibrationPix::CheckChargeValidity()
    754754{
    755755
Note: See TracChangeset for help on using the changeset viewer.