Changeset 2980 for trunk/MagicSoft/Mars
- Timestamp:
- 01/30/04 10:50:22 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.cc
r2973 r2980 417 417 418 418 const Double_t mu_0_guess = maximum_bin; 419 const Double_t si_0_guess = 20.;420 const Double_t mu_1_guess = mu_0_guess + 50.;419 const Double_t si_0_guess = 40.; 420 const Double_t mu_1_guess = mu_0_guess + 100.; 421 421 const Double_t si_1_guess = si_0_guess + si_0_guess; 422 422 // Michele … … 440 440 441 441 case kEPoisson4: 442 if ( fMeanPedestal && fSigmaPedestal)442 if ((fMeanPedestal) && (fSigmaPedestal)) 443 443 fSinglePheFit->SetParameters(lambda_guess,fMeanPedestal,mu_1_guess,fSigmaPedestal,si_1_guess,norm); 444 444 else … … 449 449 fSinglePheFit->SetParLimits(0,0.,1.); 450 450 451 if (fMeanPedestal && fSigmaPedestal) 452 fSinglePheFit->SetParLimits(1,fMeanPedestal-fMeanPedestalErr,fMeanPedestal+fMeanPedestalErr); 451 if ((fMeanPedestal) && (fSigmaPedestal)) 452 fSinglePheFit->SetParLimits(1, 453 fMeanPedestal-1.*fMeanPedestalErr, 454 fMeanPedestal+1.*fMeanPedestalErr); 453 455 else 454 456 fSinglePheFit->SetParLimits(1,-3.,0.); 455 457 456 fSinglePheFit->SetParLimits(2,(max-min)/2.,(max-0.05*(max-min))); 457 458 if (fMeanPedestal && fSigmaPedestal) 459 fSinglePheFit->SetParLimits(3,fSigmaPedestal-fSigmaPedestalErr,fSigmaPedestal+fSigmaPedestalErr); 458 fSinglePheFit->SetParLimits(2,(max-min)/2.,max); 459 460 if ((fMeanPedestal) && (fSigmaPedestal)) 461 fSinglePheFit->SetParLimits(3, 462 fSigmaPedestal-3.*fSigmaPedestalErr, 463 fSigmaPedestal+3.*fSigmaPedestalErr); 460 464 else 461 465 fSinglePheFit->SetParLimits(3,1.0,(max-min)/2.0); 462 466 463 fSinglePheFit->SetParLimits(4,1.0,(max-min) /2.5);467 fSinglePheFit->SetParLimits(4,1.0,(max-min)); 464 468 fSinglePheFit->SetParLimits(5,norm-0.5,norm+0.5); 465 469 break; -
trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc
r2950 r2980 59 59 fChargeNbinsLoGain(1010), 60 60 fTimeNbins(32), 61 fChargevsNbins( 1000),61 fChargevsNbins(5000), 62 62 fTimeFirst(-0.25), 63 63 fTimeLast(15.75),
Note:
See TracChangeset
for help on using the changeset viewer.