Changeset 5412 for trunk/MagicSoft


Ignore:
Timestamp:
11/16/04 14:56:32 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
3 edited

Legend:

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

    r5405 r5412  
    16751675      qepix.SetFFactorMethodValid(  kTRUE   , fPulserColor );
    16761676
    1677       if (!qepix.UpdateFFactorMethod( qecam->GetPlexiglassQE(), qecam->GetPlexiglassQERelVar() ))
     1677      if (!qepix.UpdateFFactorMethod( qecam->GetPlexiglassQE() ))
    16781678        *fLog << warn << GetDescriptor()
    16791679              << ": Cannot update Quantum efficiencies with the F-Factor Method" << endl;
     
    19031903      qepix.SetBlindPixelMethodValid(  kTRUE   , fPulserColor );
    19041904
    1905       if (!qepix.UpdateBlindPixelMethod( qecam->GetPlexiglassQE(), qecam->GetPlexiglassQERelVar() ))
     1905      if (!qepix.UpdateBlindPixelMethod( qecam->GetPlexiglassQE()))
    19061906        *fLog << warn << GetDescriptor()
    19071907              << ": Cannot update Quantum efficiencies with the Blind Pixel Method" << endl;
  • trunk/MagicSoft/Mars/mcalib/MCalibrationQEPix.cc

    r5405 r5412  
    12601260// Update the Blind Pixel Method: Calculate new average QE's
    12611261//
    1262 Bool_t  MCalibrationQEPix::UpdateBlindPixelMethod( const Float_t plex, const Float_t plexrelvar )
     1262Bool_t  MCalibrationQEPix::UpdateBlindPixelMethod( const Float_t plex )
    12631263{
    12641264
     
    12751275
    12761276  fAvNormBlindPixel     = weightedav / plex / sumweights;
    1277   fAvNormBlindPixelVar  = 1./ sumweights  + plexrelvar*fAvNormFFactor;
     1277  fAvNormBlindPixelVar  = 1./ sumweights;
    12781278
    12791279  SetAverageQEBlindPixelAvailable();
     
    13261326// Update the F-Factor Method: Calculate new average QE's
    13271327//
    1328 Bool_t  MCalibrationQEPix::UpdateFFactorMethod( const Float_t plex, const Float_t plexrelvar)
     1328Bool_t  MCalibrationQEPix::UpdateFFactorMethod( const Float_t plex )
    13291329{
    13301330
     
    13411341
    13421342  fAvNormFFactor     = weightedav / plex / sumweights;
    1343   fAvNormFFactorVar  = 1./ sumweights + plexrelvar*fAvNormFFactor;
     1343  fAvNormFFactorVar  = 1./ sumweights;
    13441344 
    13451345  SetAverageQEFFactorAvailable();
  • trunk/MagicSoft/Mars/mcalib/MCalibrationQEPix.h

    r5404 r5412  
    166166
    167167  // Updates
    168   Bool_t  UpdateBlindPixelMethod( const Float_t plex, const Float_t plexrelvar );
     168  Bool_t  UpdateBlindPixelMethod( const Float_t plex );
    169169  Bool_t  UpdateCombinedMethod  ();
    170   Bool_t  UpdateFFactorMethod   ( const Float_t plex, const Float_t plexrelvar );
     170  Bool_t  UpdateFFactorMethod   ( const Float_t plex );
    171171  Bool_t  UpdatePINDiodeMethod  ();
    172172
Note: See TracChangeset for help on using the changeset viewer.