Changeset 9868
- Timestamp:
- 08/16/10 09:08:29 (14 years ago)
- Location:
- trunk/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/Changelog
r9867 r9868 49 49 - added a full class description 50 50 51 * mtools/MTFillMatrix.cc: 52 - improved handling of negative number of events 51 53 52 54 -
trunk/Mars/mtools/MTFillMatrix.cc
r9041 r9868 134 134 m->Print("SizeCols"); 135 135 136 if (num<0) 137 return kTRUE; 138 136 139 const Int_t generated = m->GetM().GetNrows(); 137 140 if (TMath::Abs(generated-num) <= TMath::Sqrt(9.0*num)) … … 308 311 *fLog << inf; 309 312 fLog->Separator(GetDescriptor()); 310 *fLog << "Fill " << fDestMatrix1->GetDescriptor() << " with " << fNumDestEvents1 << endl; 313 *fLog << "Fill " << fDestMatrix1->GetDescriptor() << " with "; 314 if (fNumDestEvents1<0) 315 *fLog << "all events"; 316 else 317 *fLog << fNumDestEvents1; 318 cout << "." << endl; 311 319 if (fDestMatrix2) 312 *fLog << "Fill " << fDestMatrix2->GetDescriptor() << " with " << fNumDestEvents2 << endl; 320 { 321 *fLog << "Fill " << fDestMatrix2->GetDescriptor() << " with "; 322 if (fNumDestEvents2<0) 323 *fLog << "all events"; 324 else 325 *fLog << fNumDestEvents2; 326 cout << "." << endl; 327 } 313 328 *fLog << "Distribution choosen "; 314 329 if (fReference && fReference->GetHist().GetEntries()>0) … … 321 336 // Create parameter list and task list, add tasklist to parlist 322 337 // 323 parlist.Print();338 //parlist.Print(); 324 339 MParList plist(parlist); 325 340 MTaskList tlist;
Note:
See TracChangeset
for help on using the changeset viewer.