예제 #1
0
def ZVar(*args, **kwargs):
    # Redefinition of `ZVar` for keyword arguments.
    # The keywords must correspond to the CmdArg of the `ZVar` 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._ZVar(*args, **kwargs)
예제 #2
0
def ZVar(*args, **kwargs):
    r"""The ZVar() function is pythonized with the command argument pythonization.
    The keywords must correspond to the CmdArg of the function.
    """
    # Redefinition of `ZVar` 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._ZVar(*args, **kwargs)