Changeset 3770
- Timestamp:
- 04/16/04 21:34:13 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3769 r3770 46 46 "SetWindows". No change in behaviour of the function. 47 47 48 48 49 2004/04/16: Markus Gaug 49 50 … … 61 62 into the "low-gain samples" and mislead thus sliding window to 62 63 be maximized on the tail of the high-gain pulse. 64 65 * mcalib/MHPedestalPix.cc 66 - fixed a bug which made normalization to values per slice not happen 63 67 64 68 2004/04/15: Markus Gaug -
trunk/MagicSoft/Mars/manalysis/MHPedestalCam.cc
r3668 r3770 312 312 } 313 313 314 315 fLambda.Set(npixels); 316 fLambdaErr.Set(npixels); 317 314 318 return kTRUE; 315 319 … … 442 446 MBadPixelsPix::kLoGainOscillating); 443 447 448 444 449 return kTRUE; 445 450 451 446 452 } 447 453 … … 476 482 // 12: Fourier spectrum not OK 477 483 // 484 // Poisson fit: 485 // ============ 486 // 487 // 13: Poisson fit lambda 488 // 14: Poisson fit lambda error 489 // 478 490 Bool_t MHPedestalCam::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const 479 491 { 480 492 481 493 if (fHiGainArray->GetSize() <= idx) 494 return kFALSE; 495 496 if ((*this)[idx].IsExcluded()) 482 497 return kFALSE; 483 498 … … 540 555 val = 1.; 541 556 break; 557 case 13: 558 if (!(*this)[idx].IsPoissonFitOK()) 559 return kFALSE; 560 val = fLambda[idx]; 561 break; 562 case 14: 563 if (!(*this)[idx].IsPoissonFitOK()) 564 return kFALSE; 565 val = fLambdaErr[idx]; 566 break; 542 567 default: 543 568 return kFALSE; -
trunk/MagicSoft/Mars/manalysis/MHPedestalPix.cc
r3642 r3770 42 42 #include "MHPedestalPix.h" 43 43 44 #include "MLog.h" 45 #include "MLogManip.h" 46 44 47 #include <TH1.h> 45 48 … … 48 51 using namespace std; 49 52 // 50 const Int_t MHPedestalPix::fgChargeNbins = 450;51 const Axis_t MHPedestalPix::fgChargeFirst = - 0.5;53 const Int_t MHPedestalPix::fgChargeNbins = 500; 54 const Axis_t MHPedestalPix::fgChargeFirst = -49.5; 52 55 const Axis_t MHPedestalPix::fgChargeLast = 449.5; 53 56 // -------------------------------------------------------------------------- … … 103 106 { 104 107 105 if (fMean == fMeanErr == fSigma == fSigmaErr == 0.)106 return;107 108 108 // 109 109 // One never knows... … … 113 113 114 114 const Float_t sqslices = TMath::Sqrt(fNSlices); 115 115 116 116 SetMean ( GetMean() / fNSlices ); 117 117 //
Note:
See TracChangeset
for help on using the changeset viewer.