Skip to content

Commit e86d2f8

Browse files
committed
minor fix
1 parent 18f95ec commit e86d2f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎PWGHF/HFC/Utils/utilsCorrelations.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ std::pair<float, float> getBMotherInfoMcRec(TCandidate const& candidate, TMcPart
268268
}
269269
auto bHadMother = mcParticles.rawIteratorAt(idxBhadMothers[0] - mcParticles.offset());
270270
bMotherInfo.first = bHadMother.pt();
271-
bMotherInfo.second = RecoDecay::constrainAngle(candidate.phi() - bHadMother.phi(), -o2::constants::math::PI);
271+
bMotherInfo.second = RecoDecay::constrainAngle(candidate.phi() - bHadMother.phi(), -o2::constants::math::PIhalf);
272272
return bMotherInfo;
273273
}
274274

@@ -285,7 +285,7 @@ std::pair<float, float> getBMotherInfoMcGen(TParticle const& particle, TMcPartic
285285
}
286286
auto bHadMother = mcParticles.rawIteratorAt(particle.idxBhadMotherPart() - mcParticles.offset());
287287
bMotherInfo.first = bHadMother.pt();
288-
bMotherInfo.second = RecoDecay::constrainAngle(particle.phi() - bHadMother.phi(), -o2::constants::math::PI);
288+
bMotherInfo.second = RecoDecay::constrainAngle(particle.phi() - bHadMother.phi(), -o2::constants::math::PIhalf);
289289
return bMotherInfo;
290290
}
291291
} // namespace o2::analysis::hf_correlations

0 commit comments

Comments
 (0)