Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PWGLF/Tasks/Strangeness/forwardlambdakzeroanalysis.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@
// ...but can be changed easily since fitter is public
fitter.setPropagateToPCA(fitterConfigurations.propagateToPCA);
fitter.setMaxR(200.);
fitter.setMinParamChange(fitterConfigurations.minParamChange); // 1e-3 for DCAfitter ; 4.0 for FwdDCAfitter
fitter.setMinParamChange(fitterConfigurations.minParamChange); // 1e-3 for DCAfitter ; 4.0 for FwdDCAfitter
fitter.setMinRelChi2Change(fitterConfigurations.minRelChi2Change); // 0.9 for DCAfitter ; 1e-3 for FwdDCAfitter
// fitter.setMaxDZIni(1e9);
// fitter.setMaxDXYIni(4.0f);
Expand Down Expand Up @@ -1207,7 +1207,7 @@

//
// armenteros
if (v0Selections.armPodCut < 1e-4 || v0.QtArm * v0Selections.armPodCut > std::abs(v0.AlphaArm)) {

Check failure on line 1210 in PWGLF/Tasks/Strangeness/forwardlambdakzeroanalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
BITSET(bitMap, selK0ShortArmenteros);
}

Expand Down Expand Up @@ -1346,7 +1346,7 @@
histos.fill(HIST("h3dMassK0ShortSGA"), centrality, pt, invMassK0Short);
else if (gapSide == 1)
histos.fill(HIST("h3dMassK0ShortSGC"), centrality, pt, invMassK0Short);
else if (gapSide == 2)

Check failure on line 1349 in PWGLF/Tasks/Strangeness/forwardlambdakzeroanalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
histos.fill(HIST("h3dMassK0ShortDG"), centrality, pt, invMassK0Short);
else
histos.fill(HIST("h3dMassK0ShortHadronic"), centrality, pt, invMassK0Short);
Expand Down Expand Up @@ -1397,7 +1397,7 @@
histos.fill(HIST("h3dMassLambdaSGA"), centrality, pt, invMassLambda);
else if (gapSide == 1)
histos.fill(HIST("h3dMassLambdaSGC"), centrality, pt, invMassLambda);
else if (gapSide == 2)

Check failure on line 1400 in PWGLF/Tasks/Strangeness/forwardlambdakzeroanalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
histos.fill(HIST("h3dMassLambdaDG"), centrality, pt, invMassLambda);
else
histos.fill(HIST("h3dMassLambdaHadronic"), centrality, pt, invMassLambda);
Expand Down Expand Up @@ -1448,7 +1448,7 @@
histos.fill(HIST("h3dMassAntiLambdaSGA"), centrality, pt, invMassAntiLambda);
else if (gapSide == 1)
histos.fill(HIST("h3dMassAntiLambdaSGC"), centrality, pt, invMassAntiLambda);
else if (gapSide == 2)

Check failure on line 1451 in PWGLF/Tasks/Strangeness/forwardlambdakzeroanalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
histos.fill(HIST("h3dMassAntiLambdaDG"), centrality, pt, invMassAntiLambda);
else
histos.fill(HIST("h3dMassAntiLambdaHadronic"), centrality, pt, invMassAntiLambda);
Expand Down Expand Up @@ -1499,7 +1499,7 @@
histos.fill(HIST("h3dMassD0SGA"), centrality, pt, invMassD0);
else if (gapSide == 1)
histos.fill(HIST("h3dMassD0SGC"), centrality, pt, invMassD0);
else if (gapSide == 2)

Check failure on line 1502 in PWGLF/Tasks/Strangeness/forwardlambdakzeroanalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
histos.fill(HIST("h3dMassD0DG"), centrality, pt, invMassD0);
else
histos.fill(HIST("h3dMassD0Hadronic"), centrality, pt, invMassD0);
Expand Down Expand Up @@ -1550,7 +1550,7 @@
histos.fill(HIST("h3dMassAntiD0SGA"), centrality, pt, invMassAntiD0);
else if (gapSide == 1)
histos.fill(HIST("h3dMassAntiD0SGC"), centrality, pt, invMassAntiD0);
else if (gapSide == 2)

Check failure on line 1553 in PWGLF/Tasks/Strangeness/forwardlambdakzeroanalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
histos.fill(HIST("h3dMassAntiD0DG"), centrality, pt, invMassAntiD0);
else
histos.fill(HIST("h3dMassAntiD0Hadronic"), centrality, pt, invMassAntiD0);
Expand Down Expand Up @@ -1608,7 +1608,7 @@
if (std::abs(v0.pdgCodeMother) == o2::constants::physics::Pdg::kXi0)
rapidityXi = RecoDecay::y(std::array{v0.momentumMotherMc[0], v0.momentumMotherMc[1], v0.momentumMotherMc[2]}, o2::constants::physics::MassXi0);

if (std::fabs(rapidityXi) > 0.5f)

Check failure on line 1611 in PWGLF/Tasks/Strangeness/forwardlambdakzeroanalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
return; // not a valid mother rapidity (PDG selection is later)

// __________________________________________
Expand Down Expand Up @@ -1753,7 +1753,7 @@
histos.fill(HIST("hEventSelection"), 16 /* INEL > 0 */);
}

if (eventSelections.requireINEL1 && collision.multNTracksPVeta1() < 2) {

Check failure on line 1756 in PWGLF/Tasks/Strangeness/forwardlambdakzeroanalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
return false;
}
if (fillHists) {
Expand Down Expand Up @@ -1857,7 +1857,7 @@

histos.fill(HIST("hGapSide"), gapSide);
histos.fill(HIST("hSelGapSide"), selGapSide);
histos.fill(HIST("hEventCentralityVsSelGapSide"), centrality, selGapSide <= 2 ? selGapSide : -1);

Check failure on line 1860 in PWGLF/Tasks/Strangeness/forwardlambdakzeroanalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
}

histos.fill(HIST("hEventCentrality"), centrality);
Expand Down Expand Up @@ -1905,7 +1905,7 @@
continue;
}

if (eventSelections.requireINEL1 && mcCollision.multMCNParticlesEta10() < 2) {

Check failure on line 1908 in PWGLF/Tasks/Strangeness/forwardlambdakzeroanalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
continue;
}

Expand Down
Loading