Is it possible to use access two TFiles at one time? I am trying to pull histograms out of two files. The script is attached below.
Thanks!
EnergySpectra.C (2.58 KB)
Instead of gROOT->FindObject, do
TH1 *hist = (TH1*)fFile->Get("siCsi/histo_name")
or
TH1 *hist = (TH1*)fRefFile->Get("E/hist_name")
Rene
thank you