Changeset 769 in Sophya for trunk/SophyaPI/PIext/piafitting.cc
- Timestamp:
- Mar 2, 2000, 6:24:08 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/piafitting.cc
r544 r769 30 30 #include "tmatrix.h" 31 31 #include "tvector.h" 32 #include "objfitter.h" 32 33 #endif 33 34 … … 927 928 //#################### 928 929 if(mV) { 929 if(mOpt.okres) {Vector* ob = new Vector(mV->FitResidus(*mFit)); if(ob) omg.AddObj(ob,nomres);} 930 if(mOpt.okfun) {Vector* ob = new Vector(mV->FitFunction(*mFit)); if(ob) omg.AddObj(ob,nomfun);} 930 if(mOpt.okres) { 931 Vector* ob = new Vector(ObjectFitter::FitResidus(*mV, *mFit),true); 932 if(ob) omg.AddObj(ob,nomres); 933 } 934 if(mOpt.okfun) { 935 Vector* ob = new Vector(ObjectFitter::FitFunction(*mV, *mFit),true); 936 if(ob) omg.AddObj(ob,nomfun); 937 } 931 938 } else if(mH) { 932 939 if(mOpt.okres) {Histo* ob = new Histo(mH->FitResidus(*mFit)); if(ob) omg.AddObj(ob,nomres);} 933 940 if(mOpt.okfun) {Histo* ob = new Histo(mH->FitFunction(*mFit)); if(ob) omg.AddObj(ob,nomfun);} 934 941 } else if(mM) { 935 if(mOpt.okres) {Matrix* ob = new Matrix(mM->FitResidus(*mFit)); if(ob) omg.AddObj(ob,nomres);} 936 if(mOpt.okfun) {Matrix* ob = new Matrix(mM->FitFunction(*mFit)); if(ob) omg.AddObj(ob,nomfun);} 942 if(mOpt.okres) { 943 Matrix* ob = new Matrix(ObjectFitter::FitResidus(*mM, *mFit), true); 944 if(ob) omg.AddObj(ob,nomres); 945 } 946 if(mOpt.okfun) { 947 Matrix* ob = new Matrix(ObjectFitter::FitFunction(*mM, *mFit), true); 948 if(ob) omg.AddObj(ob,nomfun); 949 } 937 950 } else if(mH2) { 938 951 if(mOpt.okres)
Note:
See TracChangeset
for help on using the changeset viewer.