Skip to content

Commit 49824b6

Browse files
f3schshahor02
authored andcommitted
V0: Fix wrong V0 Photon TPConly cut
Reported by @shahor02.
1 parent 72678b3 commit 49824b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/Vertexing/src/SVertexer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ bool SVertexer::processTPCTrack(const o2::tpc::TrackTPC& trTPC, GIndex gid, int
13281328
// require minimum of tpc clusters
13291329
bool dCls = trTPC.getNClusters() < mSVParams->mTPCTrackMinNClusters;
13301330
// check track z cuts
1331-
bool dDPV = std::abs(trLoc.getX() * trLoc.getTgl() - trLoc.getZ() - vtx.getZ()) > mSVParams->mTPCTrack2Beam;
1331+
bool dDPV = std::abs(trLoc.getX() * trLoc.getTgl() - trLoc.getZ() + vtx.getZ()) > mSVParams->mTPCTrack2Beam;
13321332
// check track transveres cuts
13331333
float sna{0}, csa{0};
13341334
o2::math_utils::CircleXYf_t trkCircle;

0 commit comments

Comments
 (0)