added stageID and HitTypeID to the datalogging