示例#1
0
def writeruncard(options, extras):
    from MadGraphControl.MadGraphUtils import build_run_card, get_default_runcard
    rand_seed_tmp = int(options["randomSeed"]) % (30081 * 30081)
    build_run_card(run_card_old=get_default_runcard(options["processdir"]),
                   run_card_new='run_card.dat',
                   nevts=options["nevents"],
                   rand_seed=rand_seed_tmp,
                   beamEnergy=options["beamEnergy"],
                   extras=extras,
                   xqcut=0.)
def writeruncard(options, extras):
    from MadGraphControl.MadGraphUtils import build_run_card, get_default_runcard

    rand_seed_tmp = int(options["randomSeed"]) % (30081 * 30081)
    build_run_card(
        run_card_old=get_default_runcard(options["processdir"]),
        run_card_new="run_card.dat",
        nevts=options["nevents"],
        rand_seed=rand_seed_tmp,
        beamEnergy=options["beamEnergy"],
        extras=extras,
        xqcut=0.0,
    )