ttreeread producer added and fixed cmake to know if root6