@@ -125,9 +125,11 @@ struct HfTaskSingleMuonSource {
125125 registry.add (" h1MuBeforeCuts" , " " , h1Pt);
126126 registry.add (" h1MuonMass" , " " , h1Mass);
127127 registry.add (" h1BeautyMass" , " " , h1Mass);
128+ registry.add (" h1CorrBeautyMass" , " " , h1Mass);
128129 registry.add (" h1OtherMass" , " " , h1Mass);
129130 registry.add (" h1MuonMassGen" , " " , h1Mass);
130131 registry.add (" h1BeautyMassGen" , " " , h1Mass);
132+ registry.add (" h1CorrBeautyMassGen" , " " , h1Mass);
131133 registry.add (" h1OtherMassGen" , " " , h1Mass);
132134 for (const auto & src : muonSources) {
133135 registry.add (Form (" h1%sPt" , src.Data ()), " " , h1Pt);
@@ -436,9 +438,13 @@ struct HfTaskSingleMuonSource {
436438 registry.fill (HIST (" h1MuonMass" ), InvM);
437439 registry.fill (HIST (" h1MuonMassGen" ), InvMGen);
438440 }
439- if (Corr (muon, muon2, mcParts) && isBeautyMu (mask1) && isBeautyMu (mask2)) {
441+ if (isBeautyMu (mask1) && isBeautyMu (mask2)) {
440442 registry.fill (HIST (" h1BeautyMass" ), InvM);
441443 registry.fill (HIST (" h1BeautyMassGen" ), InvMGen);
444+ if (Corr (muon, muon2, mcParts)) {
445+ registry.fill (HIST (" h1CorrBeautyMass" ), InvM);
446+ registry.fill (HIST (" h1CorrBeautyMassGen" ), InvMGen);
447+ }
442448 } else {
443449 registry.fill (HIST (" h1OtherMass" ), InvM);
444450 registry.fill (HIST (" h1OtherMassGen" ), InvMGen);
0 commit comments