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

Diff of /PamCut/Collections/EffCollection/EffCollection.cpp

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

revision 1.1 by pam-fi, Tue Aug 11 08:37:18 2009 UTC revision 1.2 by pam-fi, Tue Aug 11 13:30:16 2009 UTC
# Line 89  void EffCollection::Finalize() { Line 89  void EffCollection::Finalize() {
89    // Now all the cuts are in place, and VerboseCollection can print its report    // Now all the cuts are in place, and VerboseCollection can print its report
90    VerboseCollection::Finalize();    VerboseCollection::Finalize();
91    // Add some info about efficiency    // Add some info about efficiency
92      cout << "    ****** Efficiency informations ******\n";
93      cout << "    Detector cuts:\n";
94      for (unsigned int i = 0; i < _detCollection.GetSize(); i++)
95        cout << "      - " << _detCollection.GetCut(i)->GetName() << "\n";
96    cout << "    Events below the minimum rigidity: " << _outDown << "\n";    cout << "    Events below the minimum rigidity: " << _outDown << "\n";
97    cout << "    Events above the maximum rigidity: " << _outUp << "\n";    cout << "    Events above the maximum rigidity: " << _outUp << "\n";
98    cout << "    Integrated efficiency: "    cout << "    Total detector efficiency: "
99         << (float) _detCollection.GetNGood() /         << (float) _detCollection.GetNGood() /
100            (float) (_selCollection.GetCut(_selCollection.GetSize() - 1)->GetNGood())            (float) (_selCollection.GetCut(_selCollection.GetSize() - 1)->GetNGood())
101         << "\n" << endl;         << "\n" << endl;

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

  ViewVC Help
Powered by ViewVC 1.1.23