Changeset 9315 for trunk/MagicSoft/Mars/mhbase
- Timestamp:
- 02/11/09 12:08:23 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mhbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhbase/MFillH.cc
r9302 r9315 566 566 // fCanvas->cd(); 567 567 568 fH->SetNumExecutions(GetNumExecutions()); 568 569 const Int_t rc = fH->Fill(fParContainer, fWeight?fWeight->GetVal():1); 569 fH->SetNumExecutions(GetNumExecutions()+1);570 570 571 571 // if (save && fCanvas) -
trunk/MagicSoft/Mars/mhbase/MH.cc
r9312 r9315 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.4 4 2009-02-10 20:00:09tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.45 2009-02-11 12:08:23 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 1508 1508 void MH::PrintSkipped(UInt_t n, const char *str) 1509 1509 { 1510 *fLog << " " << setw(7) << n << " ("; 1511 *fLog << MString::Format("%5.1f", 100.*n/GetNumExecutions()); 1512 *fLog << "%) Evts skipped: " << str << endl; 1510 *fLog << " " << setw(7) << n; 1511 if (GetNumExecutions()>0) 1512 { 1513 *fLog << " (" << MString::Format("%5.1f", 100.*n/GetNumExecutions()); 1514 *fLog << "%)" << str << endl; 1515 } 1516 *fLog << " Evts skipped: " << str << endl; 1513 1517 } 1514 1518
Note:
See TracChangeset
for help on using the changeset viewer.