added the event number variable to the pxhit class
in case of an empty event, without hits the event is now also stored in the output tree for timestamp matching
activated optimization in compiler