- Timestamp:
- 05/03/06 11:54:00 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTaskList.cc
r7682 r7685 318 318 // for one of the tasks 319 319 // 320 Bool_t MTaskList::AddToList(const TList &list )320 Bool_t MTaskList::AddToList(const TList &list, const char *tType) 321 321 { 322 322 TIter Next(&list); … … 330 330 } 331 331 332 if (!AddToList( obj))332 if (!AddToList(static_cast<MTask*>(obj), tType)) 333 333 return kFALSE; 334 334 } -
trunk/MagicSoft/Mars/mbase/MTaskList.h
r7682 r7685 47 47 Bool_t AddToListAfter(MTask *task, const MTask *where, const char *tType="All"); 48 48 Bool_t AddToList(MTask *task, const char *tType="All"); 49 Bool_t AddToList(const TList &list );49 Bool_t AddToList(const TList &list, const char *tType="All"); 50 50 51 51 void SetSerialNumber(Byte_t num); -
trunk/MagicSoft/Mars/mranforest/MRanForest.cc
r7684 r7685 331 331 fDataRang.Reset(0); 332 332 333 if(fWeight.GetSize()!=numdata) 333 Bool_t useweights = fWeight.GetSize()==numdata; 334 if (!useweights) 334 335 { 335 336 fWeight.Set(numdata); … … 390 391 *fLog << inf << endl; 391 392 *fLog << "Following input for the tree growing are used:"<<endl; 393 *fLog << " Forest type : "<<(fClassify?"classification":"regression")<<endl; 392 394 *fLog << " Number of Trees : "<<fNumTrees<<endl; 393 395 *fLog << " Number of Trials: "<<(fNumTry==0?tryest:fNumTry)<<(fNumTry==0?" (auto)":"")<<endl; 394 396 *fLog << " Final Node size : "<<fNdSize<<endl; 395 397 *fLog << " Using Grid : "<<(fGrid.GetSize()>0?"Yes":"No")<<endl; 396 *fLog << " Using Weights : "<<( fWeight.GetSize()>0?"Yes":"No")<<endl;398 *fLog << " Using Weights : "<<(useweights?"Yes":"No")<<endl; 397 399 *fLog << " Number of Events: "<<numdata<<endl; 398 400 *fLog << " Number of Params: "<<dim<<endl;
Note:
See TracChangeset
for help on using the changeset viewer.