| 38 |
cout << " " << setw(nDigitsEvents) << "tot."; |
cout << " " << setw(nDigitsEvents) << "tot."; |
| 39 |
cout << " " << setw(newPrec + 2) << "eff."; |
cout << " " << setw(newPrec + 2) << "eff."; |
| 40 |
cout << " " << setw(newPrec + 2) << "prog. eff.\n"; |
cout << " " << setw(newPrec + 2) << "prog. eff.\n"; |
| 41 |
for (unsigned int i = 0; i < GetSize(); i++) { |
|
| 42 |
cout << " " << setw(nameWidth) << GetCut(i)->GetName() << ":"; |
// Print the names of the actions placed before the cuts |
| 43 |
cout << " " << setw(nDigitsEvents) << GetCut(i)->GetNGood(); |
unsigned int iAction = 0; |
| 44 |
cout << " " << setw(nDigitsEvents) << GetCut(i)->GetNEv(); |
if (_actions.size() > 0) { |
| 45 |
cout << " " << (float) GetCut(i)->GetNGood() / (float) GetCut(i)->GetNEv(); |
while (_actionsPositions[iAction] == -1) { |
| 46 |
cout << " " << (float) GetCut(i)->GetNGood() / (float) GetNEv(); |
cout << " " << setw(nameWidth) << _actions[iAction]->GetName() << ": ACTION\n"; |
| 47 |
|
iAction++; |
| 48 |
|
if (iAction == _actions.size()) |
| 49 |
|
break; |
| 50 |
|
} |
| 51 |
|
} |
| 52 |
|
|
| 53 |
|
for (unsigned int iCut = 0; iCut < GetSize(); iCut++) { |
| 54 |
|
cout << " " << setw(nameWidth) << GetCut(iCut)->GetName() << ":"; |
| 55 |
|
cout << " " << setw(nDigitsEvents) << GetCut(iCut)->GetNGood(); |
| 56 |
|
cout << " " << setw(nDigitsEvents) << GetCut(iCut)->GetNEv(); |
| 57 |
|
cout << " " << (float) GetCut(iCut)->GetNGood() / (float) GetCut(iCut)->GetNEv(); |
| 58 |
|
cout << " " << (float) GetCut(iCut)->GetNGood() / (float) GetNEv(); |
| 59 |
cout << "\n"; |
cout << "\n"; |
| 60 |
|
|
| 61 |
|
if (iAction < _actions.size()) { |
| 62 |
|
while (_actionsPositions[iAction] == (int) iCut) { |
| 63 |
|
cout << " " << setw(nameWidth) << _actions[iAction]->GetName() << ": ACTION\n"; |
| 64 |
|
iAction++; |
| 65 |
|
if (iAction == _actions.size()) |
| 66 |
|
break; |
| 67 |
|
} |
| 68 |
|
} |
| 69 |
|
|
| 70 |
} |
} |
| 71 |
cout << endl; |
cout << endl; |
| 72 |
|
|