Ejemplo n.º 1
0
def Format(*args, **kwargs):
    # Redefinition of `Format` for keyword arguments.
    # The keywords must correspond to the CmdArg of the `Format` function.
    from cppyy.gbl import RooFit

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

    if "what" in kwargs:
        args = (kwargs["what"], ) + args
        del kwargs["what"]
    args, kwargs = _kwargs_to_roocmdargs(*args, **kwargs)
    return RooFit._Format(*args, **kwargs)