Changeset 4332


Ignore:
Timestamp:
06/22/04 21:27:40 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r4186 r4332  
    9797// - fConversionHiLo to fgConversionHiLo
    9898// - fConversionHiLoVar to square of fgConversionHiLoErr
    99 // - fConvFFactorRelErrLimit to fgConvFFactorRelErrLimit*fgConvFFactorRelErrLimit
     99// - fConvFFactorelErrLimit to fgConvFFactorRelErrLimit*fgConvFFactorelErrLimit
    100100// - fPheFFactorLimit to fgPheFFactorLimit
    101101//
     
    183183}
    184184
     185// --------------------------------------------------------------------------
     186//
     187// Set pedestals from outside (done by MCalibrationChargeCalc)
     188//
     189void MCalibrationChargePix::SetPed(const Float_t ped, const Float_t pederr)
     190{
     191
     192  fPed       = ped;   
     193  fPedVar    = pederr*pederr;
     194}
     195
     196// --------------------------------------------------------------------------
     197//
     198// Set pedestals RMS from outside (done by MHCalibrationChargeCam)
     199//
     200void MCalibrationChargePix::SetPedRMS( const Float_t pedrms, const Float_t pedrmserr)
     201{
     202 
     203  fPedRms    = pedrms;
     204  fPedRmsVar = pedrmserr*pedrmserr;
     205 
     206}
     207
     208
    185209// -------------------------------------------------------------------------------
    186210//
     
    253277}
    254278 
    255 
    256 //
    257 // Get the Error of the Mean pedestals:
    258 // Returns square root of fPedVar
    259 //
    260 Float_t  MCalibrationChargePix::GetPedErr()  const
    261 {
    262   return  TMath::Sqrt(fPedVar);
    263 }
    264279
    265280// --------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.