To search a specific histogram in a root file, I tried gDirectory->Get(“electron_Pt”) but this does not work? The electron_Pt is exist in that root file but the command is not able to find it. Please suggest.
Try also the command-line tool
rootls. It’s possible that
electron_Pt is a branch in a
TTree, so you won’t be able to get it with
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.