change define ROOT to define withROOT to avoid clash in ROOT 6