How to analyse a remote file.root

Hello everybody!
I need some help
I have to analyse some files.root by a TChain that are located in a pc at cern but I have to use my local ROOT installation. Is there any way to do it without coping them in my home?
Thank you very much!
:slight_smile:
Cristina

Hi,

you could put them somewhere reachable via http, and then just use …cern.ch/…. as the file location. TChain can open them whether they are accessible via http or on a local disk. If that doesn’t work you could try the ssh fuse module - though that’s really a hack and you’d be on your own. In the end, copying the files (worse) or running ROOT remotely (better) might be easier.

Cheers, Axel.

ok!
thank you very much again.

Hi,

Sorry to interrupt here, I have a question that is slightly similar, but still would kind of fall under the same discussion title.

I wanted to add multiple .root files that are located in different directories into the same TChain, I have tried including the entire path within chain->Add("")

as well as moving the script to a parent directory to all of the files and include only the sub-path to the files

but still had no success. Any tips?

Cheers
Jason

Hi,

last time I did it I simply created softlinks. Alternatively you can chain TChains.

Cheers, Axel.