Skip to content
Snippets Groups Projects
Commit 0c88a42a authored by Lynch, Vickie's avatar Lynch, Vickie
Browse files

Refs #23697 fix max of each run

parent fc2996fb
No related branches found
No related tags found
No related merge requests found
......@@ -267,8 +267,10 @@ void SaveIsawPeaks::exec() {
runMap_t::iterator runMap_it;
for (runMap_it = runMap.begin(); runMap_it != runMap.end(); ++runMap_it) {
// Start of a new run
if (maxPeakNumb > 0)
if (maxPeakNumb > 0) {
appendPeakNumb += maxPeakNumb + 1;
maxPeakNumb = 0;
}
int run = runMap_it->first;
bankMap_t &bankMap = runMap_it->second;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment