-
Notifications
You must be signed in to change notification settings - Fork 13
TRestAnalysisTree. Reviewing documentation #343
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
Conversation
| /// variables by invoking the `SetObservableValue()` method and then | ||
| /// TRestAnalysisTree::Fill() to generate a new entry inside the tree. | ||
| /// The code will be simplified while sacrificing a little performance. We can use | ||
| /// temporary variable to set observable value directly. We can focus on the analysis |
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.
I do not catch the meaning of these 2 last sentences.
In one hand what we do is to encapsulate the use of the tree through the method SetObservableValue so that the user does not need to be playing around with direct variable generation and branch address creation. Perhaps is something like that we should say here?
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.
what we do is to encapsulate the use of the tree through the method SetObservableValue so that the user does not need to be playing around with direct variable generation and branch address creation
Exactly. That shall be one of the selling point of TRestAnalysisTree. We can clarify it in the text.
|
Please, approve! |
for more information, see https://pre-commit.ci
…tree_documentation"" This reverts commit 3394b28.
The TRestAnalysisTree, together with the TRestMetadata class are one of the most visited pages on our API documentation pages. Thus, I took a bit of time to review.
Still, it might require your attention to improve the description of the class.