// fRef is a TRef and a member of "some_branch"
tree->Draw("some_branch.fRef.Dump()")
this causes error messages as follows:
Error in <TTreeFormula::DefinedVariable>: Failed to access class type of reference target (fRef)
Error in <TTreeFormula::Compile>: Bad numerical expression : "some_branch.fRef.Dump()"
this causes error messages as follows:
This happens if tree is loaded from .root file.