Added ROOT example code