Can I
tree->SetAlias("npe","fIDData.fHits.fTotalNPEs");
tree->Write();
and draw “npe” when I open the file with that tree saved in a interactive session?
Can I
tree->SetAlias("npe","fIDData.fHits.fTotalNPEs");
tree->Write();
and draw “npe” when I open the file with that tree saved in a interactive session?
Yes, it is the default behavior.