Skip to content

Commit b9e5808

Browse files
[PWGDQ] Fix e-mu mixed-event histograms being silently empty in tableReader_withAssoc fTrackMuonHistNames was stored before the mixing histogram names were appended, so PairsEleMuME* classes were never filled. Store the names after the ME block, matching the ordering already used in dqEfficiency_withAssoc.
1 parent 62ebed3 commit b9e5808

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGDQ/Tasks/tableReader_withAssoc.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1739,14 +1739,14 @@ struct AnalysisSameEventPairing {
17391739
Form("PairsEleMuSEMM_%s_%s", trackCutName.Data(), muonCutName.Data())};
17401740
histNames += Form("%s;%s;%s;", names[0].Data(), names[1].Data(), names[2].Data());
17411741
int index = iTrack * fNCutsMuon + iMuon;
1742-
fTrackMuonHistNames[index] = names;
17431742

17441743
if (fEnableBarrelMuonMixingHistos) {
17451744
names.push_back(Form("PairsEleMuMEPM_%s_%s", trackCutName.Data(), muonCutName.Data()));
17461745
names.push_back(Form("PairsEleMuMEPP_%s_%s", trackCutName.Data(), muonCutName.Data()));
17471746
names.push_back(Form("PairsEleMuMEMM_%s_%s", trackCutName.Data(), muonCutName.Data()));
17481747
histNames += Form("%s;%s;%s;", names[3].Data(), names[4].Data(), names[5].Data());
17491748
}
1749+
fTrackMuonHistNames[index] = names;
17501750

17511751
if (!cutNamesStr.IsNull()) {
17521752
std::unique_ptr<TObjArray> objArrayPair(cutNamesStr.Tokenize(","));

0 commit comments

Comments
 (0)