Ignore:
Timestamp:
09/16/04 17:23:07 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHGausEvents.cc

    r5070 r5083  
    185185  // delete fits
    186186  if (fFGausFit)
    187     {
    188       gROOT->GetListOfFunctions()->Remove(fFGausFit);
    189187      delete fFGausFit;
    190     }
    191188 
    192189  if (fFExpFit)
    193     {
    194       gROOT->GetListOfFunctions()->Remove(fFExpFit);
    195190      delete fFExpFit;
    196     }
    197191 
    198192  // delete arrays
     
    282276// data members.
    283277//
     278#if 0
    284279TObject *MHGausEvents::Clone(const char *name) const
    285280{
     
    329324  return &pix;
    330325}
    331 
     326#endif
    332327
    333328// -----------------------------------------------------------------------------
     
    416411  const Double_t offset_guess = slope_guess*xmax;
    417412
     413  gROOT->GetListOfFunctions()->Remove(fFExpFit);
    418414  fFExpFit->SetParameters(offset_guess, slope_guess);
    419415  fFExpFit->SetParNames("Offset","Slope");
     
    723719    }
    724720 
     721  gROOT->GetListOfFunctions()->Remove(fFGausFit);
    725722  fFGausFit->SetParameters(area_guess,mu_guess,sigma_guess);
    726723  fFGausFit->SetParNames("Area","#mu","#sigma");
Note: See TracChangeset for help on using the changeset viewer.