Printing filename of TFile

Hi,

I have a long chain of files, and for debugging purposes I’d like to be able to print the logical name (filename) of the TFile currently being examined.

There doesn’t seem to be any obvious way of doing it though… I guess I use:
fChain->GetCurrentFile()

but after that I’m stuck.

Also, what are the advantages of TRfioFiles over normal TFiles (which also can be used to access rfio served data)?

Cheers,

Ed

Hi Ed,
check root.cern.ch/root/roottalk/roottalk03/3300.html

Is it what you asked for :question:

Regards. Valeriy

Hi Ed,

To print the name of teh current file in a TChain, do
fChain->GetCurrentFile()->GetName();

TRFIOFile is a specialized TFile that knows
how to access remote RFIO files across
the network

Rene