Ignore:
Timestamp:
02/23/04 22:43:22 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3268 r3270  
    186186      *fLog << warn << "WARNING - saturation occurred in the Blind Pixel " << endl;
    187187
    188     //
    189     // catch the pointer to the event, because MHCalibrationChargeBlindPix will need it later
    190     //
    191     fPixelIter = &pixel;
    192 
    193188    fBlindPixel->SetReadyToSave();
    194189
     
    203198    if (&pedpix)
    204199    {
    205          fPed       = pedpix.GetPedestal()   * fNumSamples;
    206          fPedErr    = pedpix.GetPedestalRms()* fNumSamples / TMath::Sqrt((Float_t)fPedestals->GetTotalEntries());
    207          fPedRms    = pedpix.GetPedestalRms()* TMath::Sqrt((Float_t)fNumSamples);
    208          fPedRmsErr = fPedErr/2.;
     200         fBlindPixel->SetPed      ( pedpix.GetPedestal()   * fNumSamples );
     201         fBlindPixel->SetPedErr   ( pedpix.GetPedestalRms()* fNumSamples / TMath::Sqrt((Float_t)fPedestals->GetTotalEntries()) );
     202         fBlindPixel->SetPedRms   ( pedpix.GetPedestalRms()* TMath::Sqrt((Float_t)fNumSamples) );
     203         fBlindPixel->SetPedRmsErr( fBlindPixel->GetPedErr()/2. );
    209204    }
    210205
Note: See TracChangeset for help on using the changeset viewer.