Dear ROOTers,
I generate 2 new trees (teventvoltage and teventadc) in 2 new files (Coarse2_voltage.root, Coarse2_adc.root) from teventefield tree in Coarse2.root. I generate voltage before adc.
When I try to get stuff from teventadc, I get Too many open files error:
[lewhoo@lwpcomp3 data_challenge1_pm_lwp]$ root -l Coarse2_adc.root
root [0]
Attaching file Coarse2_adc.root as _file0...
(TFile *) 0x36f3a80
root [1] teventadc->Scan("trace_0[3]")
***********************************
* Row * Instance * trace_0[3 *
***********************************
SysError in <TFile::TFile>: file /data/GRAND/data_challenge1_pm_lwp/Coarse2_adc.root can not be opened for reading Too many open files
SysError in <TFile::TFile>: file /data/GRAND/data_challenge1_pm_lwp/Coarse2.root can not be opened for reading Too many open files
SysError in <TFile::TFile>: file /data/GRAND/data_challenge1_pm_lwp/Coarse2.root can not be opened for reading Too many open files
SysError in <TFile::TFile>: file /data/GRAND/data_challenge1_pm_lwp/Coarse2.root can not be opened for reading Too many open files
* 0 * 0 * 2 *
* 0 * 1 * 2 *
* 0 * 2 * 2 *
I think this is to friends added to the tree, because when I don’t add them, everything works fine.
The teventvoltage has teventefield and teventadc as friends. The teventadc has teventefield and teventvoltage as friends.
Am I doing something wrong, or did I stumble upon a bug?
ROOT Version: 6.26.02
Platform: Fedora 35
Compiler: Not Provided
Coarse2.root (867.7 KB)
Coarse2_adc.root (238.2 KB)
Coarse2_voltage.root (2.1 MB)