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 0dc7708 commit 0f039dcCopy full SHA for 0f039dc
PWGLF/Utils/strangenessBuilderModule.h
@@ -1338,6 +1338,12 @@ class BuilderModule
1338
for (size_t iv0 = 0; iv0 < v0List.size(); iv0++) {
1339
const auto& v0 = v0List[sorted_v0[iv0]];
1340
1341
+ if (!v0BuilderOpts.generatePhotonCandidates.value && v0.v0Type > 1) {
1342
+ // skip photons if not requested
1343
+ products.v0dataLink(-1, -1);
1344
+ continue;
1345
+ }
1346
+
1347
if (!baseOpts.mEnabledTables[kV0CoresBase] && v0Map[iv0] == -2) {
1348
// this v0 hasn't been used by cascades and we're not generating V0s, so skip it
1349
products.v0dataLink(-1, -1);
0 commit comments