Changeset 5083 for trunk/MagicSoft/Mars/mhcalib/MHGausEvents.cc
- Timestamp:
- 09/16/04 17:23:07 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHGausEvents.cc
r5070 r5083 185 185 // delete fits 186 186 if (fFGausFit) 187 {188 gROOT->GetListOfFunctions()->Remove(fFGausFit);189 187 delete fFGausFit; 190 }191 188 192 189 if (fFExpFit) 193 {194 gROOT->GetListOfFunctions()->Remove(fFExpFit);195 190 delete fFExpFit; 196 }197 191 198 192 // delete arrays … … 282 276 // data members. 283 277 // 278 #if 0 284 279 TObject *MHGausEvents::Clone(const char *name) const 285 280 { … … 329 324 return &pix; 330 325 } 331 326 #endif 332 327 333 328 // ----------------------------------------------------------------------------- … … 416 411 const Double_t offset_guess = slope_guess*xmax; 417 412 413 gROOT->GetListOfFunctions()->Remove(fFExpFit); 418 414 fFExpFit->SetParameters(offset_guess, slope_guess); 419 415 fFExpFit->SetParNames("Offset","Slope"); … … 723 719 } 724 720 721 gROOT->GetListOfFunctions()->Remove(fFGausFit); 725 722 fFGausFit->SetParameters(area_guess,mu_guess,sigma_guess); 726 723 fFGausFit->SetParNames("Area","#mu","#sigma");
Note:
See TracChangeset
for help on using the changeset viewer.