this should be ``pad = ROOT.gPad.func()``