modify yield_cb and comments event method in Sample and QCD classes