Get All Filenames in TChain

Is there a way to get a list of all filenames currently held by a TChain? I know that I can get the current filename as follows.

However, that doesn’t tell me whether there are other files that have also been added to the TChain. How do I get all file names?

See the TChain::GetListOfFiles and the TChain::AddFile method descriptions.

Awesome, thank you. I had been looking for anything that returns a TFile*, TString, or char*, and so I didn’t find that one.