We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6818f4b commit c1ebddeCopy full SHA for c1ebdde
1 file changed
PWGLF/Tasks/Strangeness/v0postprocessing.cxx
@@ -267,7 +267,7 @@ struct v0postprocessing {
267
return false;
268
registry.fill(HIST("QA/hK0sSelection"), 1.5);
269
270
- if (candidate.v0radius() < radius && candidate.v0radius() > maxradius)
+ if (candidate.v0radius() < radius || candidate.v0radius() > maxradius)
271
272
registry.fill(HIST("QA/hK0sSelection"), 2.5);
273
@@ -330,7 +330,7 @@ struct v0postprocessing {
330
331
void process(aod::MyV0Candidates const& myv0s)
332
{
333
- for (auto& candidate : myv0s) {
+ for (const auto& candidate : myv0s) {
334
335
if (doQA) {
336
registry.fill(HIST("QA/hK0sSelection"), 0.5);
0 commit comments