Checking if Tree is open in GetNEntries() and Fill(). Create templates for all Trees in TreeManager to avoid segFaults even if the tree is not opened.