/[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.3 by pam-fi, Wed Aug 12 14:18:13 2009 UTC revision 1.4 by pam-fi, Fri Aug 14 10:32:22 2009 UTC
# Line 58  void EffCollection::Finalize() { Line 58  void EffCollection::Finalize() {
58    // Add some info about efficiency    // Add some info about efficiency
59    float eff;    float eff;
60    if (_sel != 0.)    if (_sel != 0.)
61      eff = _det / _sel;      eff = (float)_det / (float)_sel;
62    else    else
63      eff = 0.;      eff = 0.;
64    cout << "    ****** Efficiency informations ******\n";    cout << "    ****** Efficiency informations ******\n";

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

  ViewVC Help
Powered by ViewVC 1.1.23