QGLikelihood class