documented CreateTTree and removed extra stuff