...
How to run on a local file
If you are running on lxplus, first cd
to a directory with a lot of space
cd /tmp/<username>
Download an example AOD file from the Grid, and if running on simulated data, also download a conditions database file:
...
float fcn( void* var1, void* var2 ) {
float* f1 = (float*)var1;
float* f2 = (float*)var2;
/* return the product of these two floats */
return (*f1)*(*f2);
}
As you see, in doing this, the programmer assumes all responsibility for making sure that the types and operations
are correct, something normally (and best) done by the compiler.