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
Impossible to understand what to #include
for ROOT::Math::PtEtaPhiMVector
etc
#8051
Comments
I had similar but different issues with includes:
|
Thanks, better! Still, I'd like to hear your counterargument on:
|
@Axel-Naumann : see my comment in #8224. I will not merge it and then close this issue |
* [skip-ci] improve doc. Fix root-project#8051 * rephrasing
Adter looking at the doc online and after discussing with @lmoneta , I understand this is now fixed and the issue can be closed. |
Describe the bug
Entering
PtEtaPhiMVector
in Doxygen's search brings us here: https://root.cern/doc/master/namespaceROOT_1_1Math.html#a6cea5921731c7ac99dea921fb188df31 - the documentation of the typedef, which happens to be inVector4Dfwd.h
. That header cannot be included asVector4Dfwd.h
(but only asROOT/Vector4Dfwd.h
- and it doesn't provide the definition of this type!Expected behavior
Instead, the forward header should be reserved for the specialists, and documentation should point to
Vector4D.h
. It's fine if this header repeats thetypedef
s, and those inVector4Dfwd.h
are hidden from Doxygen. In the end, Doxygen's search should get me to the header that I need to#include
, as a user, to accessPtEtaPhiMVector
, and it should be obvious how to seePtEtaPhiMVector
's members.The text was updated successfully, but these errors were encountered: