modify sample source of HROOT