Macros files missing for Primer tutorial

Hi there!

I recently installed ROOT and I’ve been going through the first examples in ROOT Primer.

However, there, they reference a lot of text files, such as ExampleData.txt, expo.dat or macro2_input_expected.txt, but I cannot find these in any folder where root was installed: /usr/local/root_install/.

Moreover, I don’t have the macro file slits.C in the /usr/local/root_install/macros folder, and that seemed a little weird, because all tutorials assume that I have it already.

Does anyone know where I can find these files? Or where I am supposed to download them?

Thank you very much for your time.


ROOT Version: 6.22/01
Platform: MacOS Catalina 10.15.4
Compiler: Not Provided


Thanks, I just opened a Github issue. In the meanwhile, take a look there: https://github.com/root-project/NotebookPrimer/tree/master/data

1 Like

Thank you very much!

The files you are looking for are here.
I will add a link to this web page from the ROOT Primer page.

2 Likes

I did a PR to add a direct link, from the primer, to the macros and data files.

1 Like

Thank you very much for your help!