I want to read a specific leave from a tree.
I can do this with:
myTREE.GetEvent(i)
myvalue = myLEAF.GetValue()
But I think GetEvent reads the whole tree. Is there a way to read the leaf by avoiding reading whole tree?
I want to read a specific leave from a tree.
I can do this with:
myTREE.GetEvent(i)
myvalue = myLEAF.GetValue()
But I think GetEvent reads the whole tree. Is there a way to read the leaf by avoiding reading whole tree?
Instead of:
myTREE.GetEvent(i)
myvalue = myLEAF.GetValue()
myLEAF->GetBranch()->GetEntry(i)
myvalue = myLEAF->GetValue()
Rene