Hi everybody,
I was trying to use the “hadd” executable to merge multiple root files in the root interface, i.e I’ve typed the following two commands on terminal:
root
hadd MergedOutput.root output{0…3}.root
However it gives an error message since it can’t recognized the identifier “hadd”.
I tried to execute the following command from inside the /bin directory placed in my root installation folder and it works (the files are correctly merged):
hadd /home/rico/Geant4/rico_folder/sim/build/MergedOutput.root /home/rico/Geant4/rico_folder/sim/build/output{0…3}.root
I wonder if there is a simple way to tell root to look for the executables stored in the /bin directory when typing commands from inside the root cling interface, so that the first command that I tried can work well.
Thanks in advance.
_ROOT Version: 6.26/00
_Platform: Ubuntu 18.04