Changeset 2237 for trunk/MagicSoft/Mars/manalysis/MCT1PadSchweizer.cc
- Timestamp:
- 06/26/03 17:00:06 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCT1PadSchweizer.cc
r2206 r2237 293 293 continue; 294 294 295 fEvt->AddPixel(i, 0.0, (*fPed)[i].Get MeanRms());295 fEvt->AddPixel(i, 0.0, (*fPed)[i].GetPedestalRms()); 296 296 } 297 297 … … 543 543 544 544 MPedestalPix &ppix = (*fPed)[j]; 545 Double_t oldsigma = ppix.Get MeanRms();545 Double_t oldsigma = ppix.GetPedestalRms(); 546 546 Double_t oldsigma2 = oldsigma*oldsigma; 547 547 … … 691 691 Double_t oldphotons = pix.GetNumPhotons(); 692 692 Double_t newphotons = oldphotons + NSB; 693 pix.SetNumPhotons( newphotons);693 pix.SetNumPhotons(newphotons); 694 694 695 695 … … 700 700 // error: add sigma of padded noise quadratically 701 701 Double_t olderror = pix.GetErrorPhot(); 702 Double_t newerror = sqrt( olderror*olderror + addSig2);703 pix.SetErrorPhot( newerror);704 705 706 Double_t newsigma = sqrt( oldsigma2 + addSig2 );707 ppix.Set MeanRms( newsigma);708 709 fHSigmaPedestal->Fill( oldsigma, newsigma);702 Double_t newerror = sqrt(olderror*olderror + addSig2); 703 pix.SetErrorPhot(newerror); 704 705 706 Double_t newsigma = sqrt(oldsigma2 + addSig2); 707 ppix.SetPedestalRms(newsigma); 708 709 fHSigmaPedestal->Fill(oldsigma, newsigma); 710 710 } 711 711 //---------- end of loop over pixels ---------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.