When using ROOT >= ROOT 6.38.00, we get
This is because GetEntry() returns 0.
Debugging shows that this is due to
|
// Turn off all branches |
|
stream_ptr->SetBranchStatus("*", 0); |
|
|
|
// Branches are turned back on by SetBranchAddress() |
|
stream_ptr->SetBranchAddress("time1", &time1, &br_time1); |
Apparently, in recent ROOT
SetBranchAddress does
not enable reading of the branch.
When using ROOT >= ROOT 6.38.00, we get
This is because
GetEntry()returns 0.Debugging shows that this is due to
STIR/src/IO/InputStreamFromROOTFile.cxx
Lines 129 to 133 in 244cdc8
Apparently, in recent ROOT
SetBranchAddressdoes not enable reading of the branch.