-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWGJE: Implementing background subtraction for jets into the framework and adding self contained HF format #4368
Conversation
adding HF stuff bug fixes debugging checks
Hi @nzardosh, approved - however, now that I look at the compilation status: it might be worthwhile to check the compilation error as sometimes clang is correct in catching the misuse of |
Thanks, I've tried to fix them. Shame they don't show up locally |
template <typename TPt, typename TPhi, typename TM> | ||
auto pz(TPt pt, TPhi eta, TM m) | ||
{ | ||
return std::sqrt(pt * pt + m * m) * std::sinh(y(pt, eta, m)); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be simplified. Mass is not needed.
DECLARE_SOA_DYNAMIC_COLUMN(Pz, pz, //! D0 px | ||
[](float pt, float eta) -> float { return functions::pz(pt, eta, o2::constants::physics::MassD0); }); | ||
DECLARE_SOA_DYNAMIC_COLUMN(P, p, //! D0 momentum | ||
[](float pt, float eta, float phi) -> float { return RecoDecay::p(functions::px(pt, phi), functions::py(pt, phi), functions::pz(pt, eta, o2::constants::physics::MassD0)); }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be simplified. Mass is not needed.
…k and adding self contained HF format (AliceO2Group#4368) * PWGJE: Implementing background subtraction for jets into the framework adding HF stuff bug fixes debugging checks * fixing macosarm problems --------- Co-authored-by: Nima Zardoshti <[email protected]>
…k and adding self contained HF format (AliceO2Group#4368) * PWGJE: Implementing background subtraction for jets into the framework adding HF stuff bug fixes debugging checks * fixing macosarm problems --------- Co-authored-by: Nima Zardoshti <[email protected]>
adding HF stuff
bug fixes
debugging checks