To compile the macros you can use the MakeFileRoot script. For example the command:
./MakeFileRoot dc_occ
will produce the executable dc_occ.exe.
The macros automatically load and analyize all the root files in the current directory whose name matched "out*.root". To run for example the dc_occ macro, just type
./dc_occ.exe