Ignore:
Timestamp:
03/30/04 11:24:20 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3601 r3609  
    9696using namespace std;
    9797
    98 const Float_t MHCalibrationChargeCam::fgNumHiGainSaturationLimit = 0.005;
     98const Float_t MHCalibrationChargeCam::fgNumHiGainSaturationLimit = 0.01;
    9999const Float_t MHCalibrationChargeCam::fgNumLoGainSaturationLimit = 0.005;
    100 //
     100const Int_t   MHCalibrationChargeCam::fgPulserFrequency          = 500;
    101101//
    102102//
     
    147147    SetNumHiGainSaturationLimit();
    148148    SetNumLoGainSaturationLimit();
     149    SetPulserFrequency();
    149150
    150151    fNumInnerPixels = 0;
     
    352353          (*this)[i].Init();
    353354          (*this)[i].ChangeHistId(i);
     355          (*this)[i].SetEventFrequency(fPulserFrequency);
    354356      }
    355357  }
     
    371373          (*this)(i).Init();
    372374          (*this)(i).ChangeHistId(i);
    373       }
     375          (*this)(i).SetEventFrequency(fPulserFrequency);
     376      }
     377     
    374378  }
    375379
     380  fAverageHiGainInnerPix->SetEventFrequency(fPulserFrequency);
     381  fAverageLoGainInnerPix->SetEventFrequency(fPulserFrequency);
     382  fAverageHiGainOuterPix->SetEventFrequency(fPulserFrequency);
     383  fAverageLoGainOuterPix->SetEventFrequency(fPulserFrequency);
     384
    376385
    377386  *fLog << inf << GetDescriptor() << ": " << fNumExcluded << " excluded Pixels " << endl;
    378 
    379387  return kTRUE;
    380388}
     
    505513    }
    506514
    507   fAverageHiGainInnerPix-> FillAbsTime(sumhiinnertot/fNumInnerPixels);
    508   fAverageLoGainInnerPix-> FillAbsTime(sumloinnertot/fNumInnerPixels);
    509   fAverageHiGainOuterPix-> FillAbsTime(sumhioutertot/fNumOuterPixels);
    510   fAverageLoGainOuterPix-> FillAbsTime(sumlooutertot/fNumOuterPixels);
     515  fAverageHiGainInnerPix->FillAbsTime(sumhiinnertot/fNumInnerPixels);
     516  fAverageLoGainInnerPix->FillAbsTime(sumloinnertot/fNumInnerPixels);
     517  fAverageHiGainOuterPix->FillAbsTime(sumhioutertot/fNumOuterPixels);
     518  fAverageLoGainOuterPix->FillAbsTime(sumlooutertot/fNumOuterPixels);
    511519
    512520  return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.