There was an error while loading. Please reload this page.
1 parent f37ec1b commit 6cef7aeCopy full SHA for 6cef7ae
1 file changed
PWGHF/D2H/Tasks/taskLc.cxx
@@ -338,6 +338,10 @@ struct HfTaskLc {
338
return o2::hf_centrality::getCentralityColl<Coll>(collision);
339
}
340
341
+ /// Evaluate decay time of generated particle
342
+ /// \param mcParticleProng0 one of generated particle's daughters
343
+ /// \param motherParticle generated particle
344
+ /// \return decay time in picoseconds. For nonprompt particles it is evaluated as if it was prompt (as it is calculated for data)
345
float evaluateMcGenDecayTime(const McParticles3ProngMatched::iterator& mcParticleProng0, const McParticles3ProngMatched::iterator& motherParticle)
346
{
347
const auto mcCollision = motherParticle.template mcCollision_as<aod::McCollisions>();
0 commit comments