/[PAMELA software]/PamCut/Collections/VerboseCollection/VerboseCollection.cpp
ViewVC logotype

Diff of /PamCut/Collections/VerboseCollection/VerboseCollection.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by pam-fi, Thu Jul 8 14:00:12 2010 UTC revision 1.3 by pam-fi, Mon Sep 5 13:01:30 2011 UTC
# Line 29  void VerboseCollection::Finalize() { Line 29  void VerboseCollection::Finalize() {
29      if (strlen(GetCut(i)->GetName()) > nameWidth)      if (strlen(GetCut(i)->GetName()) > nameWidth)
30        nameWidth = strlen(GetCut(i)->GetName());        nameWidth = strlen(GetCut(i)->GetName());
31    }    }
32      for (unsigned int i = 0; i < _actions.size(); i++) {
33        if (strlen(GetAction(i)->GetName()) > nameWidth)
34          nameWidth = strlen(GetAction(i)->GetName());
35      }
36    cout << "\n- Collection: " << GetName() << "\n";    cout << "\n- Collection: " << GetName() << "\n";
37    cout << "  Selected/Analized events (eff.): " << GetNGood() << "/" << GetNEv() << "  (" << (float) GetNGood()    cout << "  Selected/Analized events (eff.): " << GetNGood() << "/" << GetNEv() << "  ("
38        / (float) GetNEv() << ")\n";        << (float) GetNGood() / (float) GetNEv() << ")\n";
39    cout << "     " << setw(nameWidth + 1) << "--Single cuts--";    cout << "     " << setw(nameWidth + 1) << "--Single cuts--";
40    cout << "     " << setw(nDigitsEvents) << "sel.";    cout << "     " << setw(nDigitsEvents) << "sel.";
41    cout << "     " << setw(nDigitsEvents) << "tot.";    cout << "     " << setw(nDigitsEvents) << "tot.";

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23