Adds a loop over the goodQ
Adds a loop over the badQ and badQ writing
Removes any reference to a TTree in the parsing