pixhits.py counts the total number of events incident on each pixel and outputs the result as pixhits.csv in the current working directory