TTree branch Accessing

Dear Root Forum users,
I am Getting the following error when accessing a branch in tree. I have attached the root file and .cc file… I I want to draw the branch hit_eta_vec inside the myTree in the file.
Thanks in Advance

Error :in <HandleInterpreterException>: Trying to dereference null pointer or trying to call routine taking non-null arguments.
Execution of your code was aborted.
In file included from input_line_10:1:
/afs/cern.ch/work/s/shahzad/Per_EVent_Analysis/run/Ntuple_Analysis/Muons/Read1.cc:17: 4: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
Read1.cc (1.1 KB)
TEST.root (29.5 KB)

If you don’t know how to deal with your tree, see how various flavours of automatically generated “analysis skeletons” deal with it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.