Changeset 8679 for trunk/MagicSoft/Mars/mjoptim/MJOptimizeEnergy.cc
- Timestamp:
- 08/19/07 22:40:04 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjoptim/MJOptimizeEnergy.cc
r8671 r8679 66 66 // histograms 67 67 #include "../mhflux/MHEnergyEst.h" 68 #include "../mtools/MChisqEval.h" 68 69 69 70 // tasks … … 108 109 MHMatrix m("M"); 109 110 AddRulesToMatrix(m); 111 const Int_t map = m.AddColumn("MMcEvt.fEnergy"); 110 112 parlist.AddToList(&m); 111 113 … … 136 138 fill.SetWeight(); 137 139 140 MChisqEval eval; 141 eval.SetY1(fOptimLog?Form("log10(MEnergyEst.fVal/M[%d])", map):Form("MEnergyEst.fVal-M[%d]", map)); 142 if (weights) 143 eval.SetNameWeight(); 144 138 145 MMatrixLoop loop(&m); 139 146 … … 143 150 tasklist.AddToList(weights); 144 151 tasklist.AddToList(&fill); 152 tasklist.AddToList(&eval); 145 153 146 154 // Optimize with the tasklist in this parameterlist
Note:
See TracChangeset
for help on using the changeset viewer.