When I run a macro,I met a problem like this. The macro1.C was created in a new document. I don’t want to run macro in this path “/home/njuhep/ROOT/root/tutorials/tmva”. What should I do?
You can try to run the macro by opening root initially and then in the root interpreter you write
.L macro1.C and then macro1() to see the output ensuring that you are in the same directory of macro1.C and also your function name in macro1.C is also macro1 .
Let me know if you need further assistance
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.