modified SRMon test code using HROOT