added error, time and energy to detector hit class