enable multisample ttbar and ww bkg and moving histomaker function to external file