A macro to calculate the particle efficiency for simple basic simulated files