calculate beta function of mH1 and mH2 in terms of base class