86 |
// Let's add all the cuts to the vector of the collection before calling VerboseCollection::Finalize |
// Let's add all the cuts to the vector of the collection before calling VerboseCollection::Finalize |
87 |
for (unsigned int i = 0; i < _selCollection.GetSize(); i++) |
for (unsigned int i = 0; i < _selCollection.GetSize(); i++) |
88 |
_cuts.push_back(_selCollection.GetCut(i)); |
_cuts.push_back(_selCollection.GetCut(i)); |
89 |
for (unsigned int i = 0; i < _selCollection.GetActionsSize(); i++) |
for (unsigned int i = 0; i < _selCollection.GetActionsSize(); i++){ |
90 |
_actions.push_back(_selCollection.GetAction(i)); |
_actions.push_back(_selCollection.GetAction(i)); |
91 |
|
_actionsPositions.push_back(_selCollection.GetActionPosition(i)); |
92 |
|
} |
93 |
for (unsigned int i = 0; i < _detCollection.GetSize(); i++) |
for (unsigned int i = 0; i < _detCollection.GetSize(); i++) |
94 |
_cuts.push_back(_detCollection.GetCut(i)); |
_cuts.push_back(_detCollection.GetCut(i)); |
95 |
for (unsigned int i = 0; i < _detCollection.GetActionsSize(); i++) |
for (unsigned int i = 0; i < _detCollection.GetActionsSize(); i++){ |
96 |
_actions.push_back(_detCollection.GetAction(i)); |
_actions.push_back(_detCollection.GetAction(i)); |
97 |
|
_actionsPositions.push_back(_detCollection.GetActionPosition(i) + _selCollection.GetSize()); |
98 |
|
} |
99 |
|
|
100 |
// Now all the cuts and actions are in place, and VerboseCollection can print its report and call Finalize() for |
// Now all the cuts and actions are in place, and VerboseCollection can print its report and call Finalize() for |
101 |
// every cut and action (calling SmartCollection::Finalize(). |
// every cut and action (calling SmartCollection::Finalize(). |