How to find the tutorial including the class,function,or attributes I want to search?

Hi experts,
I want to learn some new class or function, but if I just look into the description, it will be difficult to understand how to use it. So I wonder how to find the example which includes this class or function so that I can learn how to use it with code. Thanks!
Best regards,
Zhenxuan

Hi @zhenxuan ,

the quickest way is probably to search the ROOT sources. You can git clone --branch latest-stable --depth=1 git@github.com:root-project/root.git or download the sources from here, and then you can search the tutorials sub-directory for the term you want, e.g. with grep YOURTERM root/tutorials.

Cheers,
Enrico

Hi Enrico,
Thanks for the answer. It seems feasible to me.
Best,
Zhenxuan

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.