Skip to content

Commit a5a51ca

Browse files
committed
fix labels in histogram
1 parent 2381c4b commit a5a51ca

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

PWGUD/TableProducer/upcCandProducerGlobalMuon.cxx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,11 @@ struct UpcCandProducerGlobalMuon {
143143
// NEW: Add histograms for global track monitoring
144144
const AxisSpec axisTrackType{5, -0.5, 4.5, "Track Type"};
145145
histRegistry.add("hTrackTypes", "Track type distribution", kTH1F, {axisTrackType});
146-
histRegistry.get<TH1>(HIST("hTrackTypes"))->GetXaxis()->SetBinLabel(1, "MuonStandalone");
147-
histRegistry.get<TH1>(HIST("hTrackTypes"))->GetXaxis()->SetBinLabel(2, "MCHStandalone");
148-
histRegistry.get<TH1>(HIST("hTrackTypes"))->GetXaxis()->SetBinLabel(3, "GlobalMuon");
149-
histRegistry.get<TH1>(HIST("hTrackTypes"))->GetXaxis()->SetBinLabel(4, "GlobalFwd");
146+
histRegistry.get<TH1>(HIST("hTrackTypes"))->GetXaxis()->SetBinLabel(1, "GlobalMuonTrack");
147+
histRegistry.get<TH1>(HIST("hTrackTypes"))->GetXaxis()->SetBinLabel(2, "GlobalMuonTrackOtherMatch");
148+
histRegistry.get<TH1>(HIST("hTrackTypes"))->GetXaxis()->SetBinLabel(3, "GlobalForwardTrack");
149+
histRegistry.get<TH1>(HIST("hTrackTypes"))->GetXaxis()->SetBinLabel(4, "MuonStandaloneTrack");
150+
histRegistry.get<TH1>(HIST("hTrackTypes"))->GetXaxis()->SetBinLabel(5, "MCHStandaloneTrack");
150151

151152
const AxisSpec axisEta{100, -4.0, -2.0, "#eta"};
152153
histRegistry.add("hEtaGlobal", "Global track eta", kTH1F, {axisEta});

0 commit comments

Comments
 (0)