Changeset 8719 for trunk/MagicSoft/Mars/mjtrain/MJTrainDisp.cc
- Timestamp:
- 08/28/07 13:03:04 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjtrain/MJTrainDisp.cc
r8704 r8719 43 43 // opt.Train("rf-disp.root", set, 30000); // Number of train events 44 44 // 45 // // Two of the displayed histograms show the cut efficiency for 46 // // a given Theta-Cut. The default is 0.215. It can be overwritten 47 // // by 48 // opt.SetThetaCut(0.165); 49 // 45 50 // 46 51 // Random Numbers: … … 227 232 Bool_t MJTrainDisp::Train(const char *out, const MDataSet &set, Int_t num) 228 233 { 229 SetTitle(Form("Train Disp: %s", out));234 SetTitle(Form("Train%s: %s", fNameOutput.Data(), out)); 230 235 231 236 if (fDisplay) … … 282 287 283 288 // ------------------------ Train RF -------------------------- 284 MRanForestCalc rf("Train Disp", fTitle);289 MRanForestCalc rf("Train", fTitle); 285 290 rf.SetNumTrees(fNumTrees); 286 291 rf.SetNdSize(fNdSize); … … 292 297 rf.SetFileName(out); 293 298 rf.SetDebug(fDebug>1); 294 rf.SetNameOutput("Disp"); 299 rf.SetNameOutput(fNameOutput); 300 rf.SetFunction(fResultFunction); 295 301 296 302 /* … … 319 325 320 326 MParameterD par("ThetaSquaredCut"); 321 par.SetVal( 0.215*0.215);327 par.SetVal(fThetaCut*fThetaCut); 322 328 plist.AddToList(&par); 323 329
Note:
See TracChangeset
for help on using the changeset viewer.