Hello ROOT community.
I am accessing files with rootd.I set up
.rootdpass:
DkrblahtblahSw
on both machines and
.rootnetrc:
machine host31 login blah password DkrblahtblahSw
on the “File server”.
It gets the files right but still askes me to prompt my name on each file. BTW I have 15000 of them. The easy solution would be to run root inside expect script. If someone has any better suggestion I’ll appreciate it a lot.
Here is the code:
TChain* chain
chain->Add(“root://data051.blah.gov/scratch/data/scratch/026c65.000.root”);
chain->Add(“root://data051.blah.gov/scratch/data/scratch/026c65.001.root”);
chain->Add(“root://data051.blah.gov/scratch/data/scratch/026c65.002.root”);
…
chain->Draw(“something”);
Thanks.