Changeset 4220 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
05/27/04 17:46:26 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
2 edited

Legend:

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

    r4216 r4220  
    620620  const Double_t si_1_guess = si_0_guess + si_0_guess;
    621621  // Michele
    622   const Double_t lambda_1cat_guess = 0.005;
    623   const Double_t lambda_1dyn_guess = 0.002;
     622  const Double_t lambda_1cat_guess = 0.05;
     623  const Double_t lambda_1dyn_guess = lambda_1cat_guess/10.;
    624624  const Double_t mu_1cat_guess = 1000.;
    625625  const Double_t mu_1dyn_guess = 2500.;
     
    701701                                 "#sigma_{0}","#sigma_{1cat}","#sigma_{1dyn}",
    702702                                 "Area","offset");
    703       fSinglePheFit->SetParLimits(0,0.,0.2);
     703      fSinglePheFit->SetParLimits(0,0.,0.5);
    704704      fSinglePheFit->SetParLimits(1,0.,0.05);
    705705      fSinglePheFit->SetParLimits(2,0.,fSinglePheCut);   
    706       fSinglePheFit->SetParLimits(3,fSinglePheCut,3000.);   
    707       fSinglePheFit->SetParLimits(4,fSinglePheCut,3500.);   
     706      fSinglePheFit->SetParLimits(3,fSinglePheCut,5500.);   
     707      fSinglePheFit->SetParLimits(4,1500.,3500.);   
    708708      fSinglePheFit->SetParLimits(5,0.,fSinglePheCut);   
    709709      fSinglePheFit->SetParLimits(6,500.,1000.);   
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindPix.h

    r4216 r4220  
    204204      if (sigma1cat < sigma1dyn)
    205205        return FLT_MAX;
    206 
     206     
    207207      Double_t mu2cat = (2.*mu1cat)-mu0; 
    208208      Double_t mu2dyn = (2.*mu1dyn)-mu0; 
     
    270270      Double_t sigma0 = par[3];
    271271      Double_t sigma1 = par[4];
     272
     273      if (sigma0 < 0.0001)
     274        return FLT_MAX;
    272275     
    273276      if (sigma1 < sigma0)
     
    327330      Double_t sigma0 = par[3];
    328331      Double_t sigma1 = par[4];
     332     
     333      if (sigma0 < 0.0001)
     334        return FLT_MAX;
    329335     
    330336      if (sigma1 < sigma0)
     
    392398      Double_t sigma0 = par[3];
    393399      Double_t sigma1 = par[4];
     400     
     401      if (sigma0 < 0.0001)
     402        return FLT_MAX;
    394403     
    395404      if (sigma1 < sigma0)
Note: See TracChangeset for help on using the changeset viewer.