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

Diff of /PamCut/Collections/EffRigCollection/EffRigCollection.cpp

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

revision 1.5 by pam-fi, Tue Oct 27 10:18:54 2009 UTC revision 1.6 by pam-fi, Sun Nov 8 16:04:01 2009 UTC
# Line 176  void EffRigCollection::Finalize() { Line 176  void EffRigCollection::Finalize() {
176        outTextFile << setw(10) << _bins[i] << setw(10) << _bins[i + 1] << setw(10) << _detVector[i] << setw(10)        outTextFile << setw(10) << _bins[i] << setw(10) << _bins[i + 1] << setw(10) << _detVector[i] << setw(10)
177            << _selVector[i];            << _selVector[i];
178        if (_selVector[i] != 0)        if (_selVector[i] != 0)
179          outTextFile << setw(10) << eff[i] << setw(10) << errLow[i] << setw(10) << errHigh[i] << "\n";          outTextFile << setw(10) << eff[i] << setw(10) << errLow[i] << setw(10) << errHigh[i];
180        else        else
181          outTextFile << setw(10) << 0. << setw(10) << 0. << setw(10) << 0.;          outTextFile << setw(10) << 0. << setw(10) << 0. << setw(10) << 0.;
182        if (i < _selVector.size() - 1) //Avoids to print an empty line at the end of the file        if (i < _selVector.size() - 1) //Avoids to print an empty line at the end of the file

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.23