Jacob's way of writing data from ROOT TTree to .txt in order to be used in TensorFlow, probably in a really bad way. This code exemplifies how simulated data can be written to .txt's with the files h102.h and h102.C created after doing
h102->MakeClass() in root