I have a program for working with root files. After launching, a window appears in which you can select a file. But when you select the desired file, the program gives the following errors:
Error in <TFile::TFile>: file /home/erg/Events_Oct13112559/1_1/*.root does not exist
Traceback (most recent call last):
File "/home/erg/Horizon-T_baselinefit_MIPcalib_2ndBank.py", line 1282, in <module>
openROOTfiles()
File "/home/erg/Horizon-T_baselinefit_MIPcalib_2ndBank.py", line 164, in openROOTfiles
readfileinitdata(selectedfiles[0])
File "/home/erg/Horizon-T_baselinefit_MIPcalib_2ndBank.py", line 23, in readfileinitdata
tempfile=ROOT.TFile.Open(filename)
File "/home/erg/root/lib/ROOT/_pythonization/_tfile.py", line 67, in _TFileOpen
raise OSError('Failed to open file {}'.format(str(args[0])))
OSError: Failed to open file /home/erg/Events_Oct13112559/1_1/*.root
I have attached the programs that are indicated in the errors
Horizon-T_baselinefit_MIPcalib_2ndBank.py (75.5 KB)
_tfile.py (3.1 KB)
ROOT Version: 6.30/04
Platform: Ubuntu
Compiler: pycharm community