Skip to content

Commit 01da76c

Browse files
committed
Fix getV0Kappa calculation
1 parent 7cbad57 commit 01da76c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGEM/PhotonMeson/Utils/PCMUtilities.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ inline V0TruthClass classifyV0Truth(TTrack const& pos, TTrack const& ele, TMCPar
265265
template <o2::soa::is_iterator TLeg>
266266
float getV0Kappa(TLeg const& pos, TLeg const& ele)
267267
{
268-
float kappa = (std::fabs(pos.tpcNSigmaEl()) + std::fabs(ele.tpcNSigmaEl())) / 2.f + (2.f * pos.tpcNSigmaEl() + ele.tpcNSigmaEl());
268+
float kappa = (std::fabs(pos.tpcNSigmaEl()) + std::fabs(ele.tpcNSigmaEl())) / 2.f + (2.f * (pos.tpcNSigmaEl() + ele.tpcNSigmaEl()));
269269
return kappa;
270270
}
271271

0 commit comments

Comments
 (0)