Changeset 5114 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 09/17/04 18:51:37 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc ¶
r5100 r5114 217 217 f.fFunc = new TF1(*fFunc); 218 218 gROOT->GetListOfFunctions()->Remove(f.fFunc); 219 f.fFunc->SetName("Dummy"); 219 220 delete fcn; 220 221 } -
TabularUnified trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h ¶
r5100 r5114 46 46 47 47 gROOT->GetListOfFunctions()->Remove(fFunc); 48 fFunc->SetName("Dummy"); 48 49 } 49 50 … … 59 60 void Print(Option_t *o=0) const; 60 61 void Copy(TObject &o) const; 62 /* 63 TObject *Clone(const char *name) const 64 { 65 return new MAlphaFitter(*this); 66 } 67 */ 61 68 62 69 void SetSignalIntegralMax(Float_t s) { fSigInt = s; } … … 66 73 void SetPolynomOrder(Int_t s) { fPolynomOrder = s; delete fFunc; fFunc=new TF1 ("", Form("gaus(0) + pol%d(3)", s)); 67 74 gROOT->GetListOfFunctions()->Remove(fFunc); 75 fFunc->SetName("Dummy"); 68 76 fCoefficients.Set(3+s+1); fCoefficients.Reset(); } 69 77
Note:
See TracChangeset
for help on using the changeset viewer.