added a parameter undefValue to constructor of class TreeProcessor which is put into the output data for undefined quantities