Skip to content

Commit 050f9ed

Browse files
authored
fixing merging (#4386)
1 parent ac1072d commit 050f9ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Analysis/Core/src/CorrelationContainer.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ Long64_t CorrelationContainer::Merge(TCollection* list)
490490
TObject* obj = nullptr;
491491

492492
// collections of objects
493-
const UInt_t kMaxLists = 3;
493+
const UInt_t kMaxLists = 4;
494494
TList** lists = new TList*[kMaxLists];
495495

496496
for (UInt_t i = 0; i < kMaxLists; i++)
@@ -508,6 +508,7 @@ Long64_t CorrelationContainer::Merge(TCollection* list)
508508

509509
lists[1]->Add(entry->mTriggerHist);
510510
lists[2]->Add(entry->mTrackHistEfficiency);
511+
lists[3]->Add(entry->mEventCount);
511512

512513
count++;
513514
}

0 commit comments

Comments
 (0)