What is the difference between using TFile and TFile* to perform input/output operations on files?
in first approximation there is no difference at the level of the ROOT framework. However,
TFile mean two different things at the C++ language level: the former represents a pointer to TFile, the latter…just a TFile. You can search the web for C++ questions and resources.