Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions PWGCF/Femto/FemtoNuclei/TableProducer/HadNucleiFemto.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ struct HadNucleiFemto {
}

template <typename Ttrack>
bool fillCandidateInfoHyper(const aod::DataHypCandsWColl::iterator& V0Hyper, const Ttrack& trackHad, HadNucandidate& hadHypercand, bool isMixedEvent)
void fillCandidateInfoHyper(const aod::DataHypCandsWColl::iterator& V0Hyper, const Ttrack& trackHad, HadNucandidate& hadHypercand, bool isMixedEvent)
{
hadHypercand.collisionID = V0Hyper.collisionId();
// get hypertriton information
Expand Down Expand Up @@ -898,7 +898,6 @@ struct HadNucleiFemto {
beta = std::min(1.f - 1.e-6f, std::max(1.e-4f, beta)); /// sometimes beta > 1 or < 0, to be checked
hadHypercand.massTOFHad = trackHad.tpcInnerParam() * std::sqrt(1.f / (beta * beta) - 1.f);
}
return true;
}

template <typename Ttrack>
Expand Down Expand Up @@ -1166,9 +1165,7 @@ struct HadNucleiFemto {
// auto collBracket = trackPair.collBracket;

HadNucandidate hadNucand;
if (!fillCandidateInfoHyper(v0hyper, hadTrack, hadNucand, isMixedEvent)) {
continue;
}
fillCandidateInfoHyper(v0hyper, hadTrack, hadNucand, isMixedEvent);

mQaRegistry.fill(HIST("hNuPt"), hadNucand.recoPtNu());
mQaRegistry.fill(HIST("hHadPt"), hadNucand.recoPtHad());
Expand Down
Loading