The first argument chooses the data set specified in the runLocal macro. The second argument selects between 'offline' / 'GRID testing' and the two numbers specify which files should be processed (in the example the files from folder '0' until folder '9').
if you test AODs, you need to specify the AOD cut number. To know it, look into the aodTree in the AliAODGammaConversion.root
if you have made major changes to the code, you should test the memory consumption (e.g. with 'top'), the processing time (e.g. with 'time') and the output file size (e.g. with 'ls -sh')
If everything works well, no errors are shown and the full output is generated, you may launch a test on GRID (next chapter).
After local testing was successful, try to test by loading all files from the GRID. For this purpose:
specify the second argument useGrid == kTRUE for runLocal.C
specify the path to the test files on the GRID in runLocal.C (use aliensh to make sure you have specified the correct file path)
possibly check the settings of the GRID handler in runLocal.C (which tag you are using etc)
If something goes wrong, check the stderr for errors and wn.xml if the correct file was used for testing.
keep in mind that some errors types are only visible during the GRID testing step (like streamer errors etc), therefore this kind of testing is very important!
If everything works and all outputs are fine, you have successfully tested your AnalysisTask locally.