Changeset 5084 for trunk/MagicSoft/Mars/mhcalib/MHGausEvents.cc
- Timestamp:
- 09/16/04 17:42:30 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHGausEvents.cc
r5083 r5084 167 167 // - fGraphPowerSpectrum 168 168 // 169 // For the fits, we have to take special care since ROOT170 // has stored the function pointer in a global list which171 // lead to removing the object twice. We have to take out172 // the following functions of the global list of functions173 // as well:174 //175 169 // - fFGausFit 176 170 // - fFExpFit … … 411 405 const Double_t offset_guess = slope_guess*xmax; 412 406 407 // 408 // For the fits, we have to take special care since ROOT 409 // has stored the function pointer in a global list which 410 // lead to removing the object twice. We have to take out 411 // the following functions of the global list of functions 412 // as well: 413 // 413 414 gROOT->GetListOfFunctions()->Remove(fFExpFit); 414 415 fFExpFit->SetParameters(offset_guess, slope_guess); … … 719 720 } 720 721 722 // 723 // For the fits, we have to take special care since ROOT 724 // has stored the function pointer in a global list which 725 // lead to removing the object twice. We have to take out 726 // the following functions of the global list of functions 727 // as well: 728 // 721 729 gROOT->GetListOfFunctions()->Remove(fFGausFit); 722 730 fFGausFit->SetParameters(area_guess,mu_guess,sigma_guess);
Note:
See TracChangeset
for help on using the changeset viewer.