Ignore:
Timestamp:
02/11/09 12:08:23 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhbase/MFillH.cc

    r9302 r9315  
    566566//        fCanvas->cd();
    567567
     568    fH->SetNumExecutions(GetNumExecutions());
    568569    const Int_t rc = fH->Fill(fParContainer, fWeight?fWeight->GetVal():1);
    569     fH->SetNumExecutions(GetNumExecutions()+1);
    570570
    571571//    if (save && fCanvas)
  • trunk/MagicSoft/Mars/mhbase/MH.cc

    r9312 r9315  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.44 2009-02-10 20:00:09 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.45 2009-02-11 12:08:23 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    15081508void MH::PrintSkipped(UInt_t n, const char *str)
    15091509{
    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;
    15131517}
    15141518
Note: See TracChangeset for help on using the changeset viewer.