Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
265e4ce3
Commit
265e4ce3
authored
6 years ago
by
Philippe Canal
Committed by
Axel Naumann
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add comments
parent
55a5638a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tree/treeplayer/src/TTreeReaderValue.cxx
+6
-0
6 additions, 0 deletions
tree/treeplayer/src/TTreeReaderValue.cxx
with
6 additions
and
0 deletions
tree/treeplayer/src/TTreeReaderValue.cxx
+
6
−
0
View file @
265e4ce3
...
...
@@ -194,6 +194,10 @@ ROOT::Internal::TTreeReaderValueBase::ProxyReadDefaultImpl() {
}
return
(
this
->*
fProxyReadFunc
)();
}
// If somehow the Setup fails call the original Read to
// have the proper error handling (message only if the Setup fails
// and the current proxy entry is different than the TTree's current entry)
if
(
fProxy
->
Read
())
{
fReadStatus
=
kReadSuccess
;
}
else
{
...
...
@@ -216,6 +220,8 @@ std::string ROOT::Internal::TTreeReaderValueBase::GetElementTypeName(const std::
/// The TTreeReader has switched to a new TTree. Update the leaf.
void
ROOT
::
Internal
::
TTreeReaderValueBase
::
NotifyNewTree
(
TTree
*
newTree
)
{
// Since the TTree structure might have change, let's make sure we
// use the right reading function.
fProxyReadFunc
=
&
TTreeReaderValueBase
::
ProxyReadDefaultImpl
;
if
(
!
fHaveLeaf
||
!
newTree
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment