| 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; |