Skip to content

Commit e22f4b4

Browse files
committed
adding vtx selection
1 parent f2f04dd commit e22f4b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Common/Tasks/qVectorsCorrection.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,8 @@ struct qVectorsCorrection {
760760
{
761761
histosQA.fill(HIST("histCentFull"), qVec.cent());
762762
if (cfgAddEvtSel) {
763+
if (std::abs(qVec.posZ()) > 10. )
764+
return;
763765
switch (cfgEvtSel) {
764766
case 0: // Sel8
765767
if (!qVec.sel8())

0 commit comments

Comments
 (0)