Skip to content

Commit 21e2a5f

Browse files
authored
[PWGCF] fix to apply event cuts when confDoSpher is false (AliceO2Group#9464)
1 parent 22b7e61 commit 21e2a5f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,10 +800,8 @@ struct FemtoUniverseProducerTask {
800800
outputCollision(vtxZ, mult, multNtr, 2, mMagField);
801801
}
802802
} else {
803-
if (confDoSpher && (!confEvNoSameBunchPileup || col.selection_bit(aod::evsel::kNoSameBunchPileup)) && (!confEvIsGoodZvtxFT0vsPV || col.selection_bit(aod::evsel::kIsGoodZvtxFT0vsPV)) && (!confEvIsVertexITSTPC || col.selection_bit(aod::evsel::kIsVertexITSTPC))) {
804-
outputCollision(vtxZ, mult, multNtr, colCuts.computeSphericity(col, tracks), mMagField);
805-
} else {
806-
outputCollision(vtxZ, mult, multNtr, 2, mMagField);
803+
if ((!confEvNoSameBunchPileup || col.selection_bit(aod::evsel::kNoSameBunchPileup)) && (!confEvIsGoodZvtxFT0vsPV || col.selection_bit(aod::evsel::kIsGoodZvtxFT0vsPV)) && (!confEvIsVertexITSTPC || col.selection_bit(aod::evsel::kIsVertexITSTPC))) {
804+
outputCollision(vtxZ, mult, multNtr, confDoSpher ? colCuts.computeSphericity(col, tracks) : 2, mMagField);
807805
}
808806
}
809807
colCuts.fillQA(col);

0 commit comments

Comments
 (0)