Skip to content

Commit fcfdaec

Browse files
authored
Update taskOmegac0ToOmegapi.cxx Remove unused histograms and fix bug
Remove unused histograms and fix bugs
1 parent 2b03869 commit fcfdaec

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

PWGHF/D2H/Tasks/taskOmegac0ToOmegapi.cxx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ struct HfTaskOmegac0 {
4343

4444
// ThnSparse for ML outputScores and Vars
4545
ConfigurableAxis thnConfigAxisPromptScore{"thnConfigAxisPromptScore", {50, 0, 1}, "Prompt score bins"};
46-
ConfigurableAxis thnConfigAxisMass{"thnConfigAxisMass", {120, 1.5848, 2.1848}, "Cand. inv-mass bins"};
46+
ConfigurableAxis thnConfigAxisMass{"thnConfigAxisMass", {120, 2.4, 3.1}, "Cand. inv-mass bins"};
4747
ConfigurableAxis thnConfigAxisPtB{"thnConfigAxisPtB", {1000, 0, 100}, "Cand. beauty mother pTB bins"};
48-
ConfigurableAxis thnConfigAxisPt{"thnConfigAxisPt", {500, 0, 50}, "Cand. pT bins"};
48+
ConfigurableAxis thnConfigAxisPt{"thnConfigAxisPt", {100, 0, 20}, "Cand. pT bins"};
4949
ConfigurableAxis thnConfigAxisY{"thnConfigAxisY", {20, -1, 1}, "Cand. rapidity bins"};
5050
ConfigurableAxis thnConfigAxisOrigin{"thnConfigAxisOrigin", {3, -0.5, 2.5}, "Cand. origin type"};
5151
ConfigurableAxis thnConfigAxisCandType{"thnConfigAxisCandType", {6, -0.5, 5.5}, "Omegac0 type"};
@@ -80,7 +80,7 @@ struct HfTaskOmegac0 {
8080
LOGP(fatal, "At least one process function should be enabled at a time.");
8181
}
8282

83-
const AxisSpec thnAxisMass{thnConfigAxisMass, "inv. mass (#pi K) (GeV/#it{c}^{2})"};
83+
const AxisSpec thnAxisMass{thnConfigAxisMass, "inv. mass (#Omega #pi) (GeV/#it{c}^{2})"};
8484
const AxisSpec thnAxisPt{thnConfigAxisPt, "#it{p}_{T} (GeV/#it{c})"};
8585
const AxisSpec thnAxisPtB{thnConfigAxisPtB, "#it{p}_{T}^{B} (GeV/#it{c})"};
8686
const AxisSpec thnAxisY{thnConfigAxisY, "y"};
@@ -194,8 +194,6 @@ struct HfTaskOmegac0 {
194194
float ptGenB = -1;
195195
auto ptGen = particle.pt();
196196
auto yGen = particle.rapidityCharmBaryonGen();
197-
registry.fill(HIST("hPtGen"), ptGen);
198-
registry.fill(HIST("hPtVsYGen"), ptGen, yGen);
199197

200198
unsigned maxNumContrib = 0;
201199
const auto& recoCollsPerMcColl = collisions.sliceBy(colPerMcCollision, particle.mcCollision().globalIndex());

0 commit comments

Comments
 (0)