There is a code that is designed to consider a root file with a lot of events. The file itself is attached here. After the launch, the following warnings occur:
Error in <TFile::TFile>: file /home/erg/*.root does not exist
Traceback (most recent call last):
File "/home/erg/PycharmProjects/pythonProject1/.idea/accident.py", line 1558, in <module>
openimagefilename(0, True)
File "/home/erg/PycharmProjects/pythonProject1/.idea/accident.py", line 761, in openimagefilename
readfileinitdata(imagefilename[0])
File "/home/erg/PycharmProjects/pythonProject1/.idea/accident.py", line 96, 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/*.root
accident.py (76.1 KB)
_ROOT Version: 6.26/10
_Platform:
_Compiler: pycharm community