At root command line,from the CollectionTree, I want to list the variables.eg, m_px, m_py…
for example, by using TTree->Print(), the list of branch can come out.
In this case,how to print the list in m_genParticles ?
[quote=“Wile E. Coyote”]TTree::GetListOfBranches
Dear Wile E. Coyote
Thank you for replying.
I try that using t1->GetListOfBranches()->Print() , but it just print the top level variable, not print m_px…
the result of screenshot in attachment.
In my case, could you tell more detail?