def YVar(*args, **kwargs): # Redefinition of `YVar` for keyword arguments. # The keywords must correspond to the CmdArg of the `YVar` function. from cppyy.gbl import RooFit if "var" in kwargs: args = (kwargs["var"], ) + args del kwargs["var"] args, kwargs = _kwargs_to_roocmdargs(*args, **kwargs) return RooFit._YVar(*args, **kwargs)
def YVar(*args, **kwargs): r"""The YVar() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArg of the function. """ # Redefinition of `YVar` for keyword arguments. from cppyy.gbl import RooFit if "var" in kwargs: args = (kwargs["var"], ) + args del kwargs["var"] args, kwargs = _kwargs_to_roocmdargs(*args, **kwargs) return RooFit._YVar(*args, **kwargs)