new parameters nprotons, new hitfinder combining photon and tof hitfinding, moved saveinterval mutex to worker.cpp