Cython added template ratemonitor