Example Macros

First understanding, and then writing ROOT macros is the probably the easiest way to start to learn to use the MINOS OO software. To help in the first of these steps there is some example macros here in which each statement can be studied in terms of:- The chief macro to be studied is:- as this demonstrates the power of the `Q' classes, which is the latest interface to the data and supercedes the first version in which the ADAMO tables were still clearly visible! 2 macro that show this old interface are:-

Clicking on the * at the start of each line will lead to an explanation in terms of:-

Having studied it, take a look at other example macros, which are currently to be found on:- Caution: Not all the .C files are macros! George, perhaps we need a macros directory?
Go Back to the The OO Companion Top Page

If you have any comments about this page please send them to Nick West