Script.parseCommandLine() from ILCDIRAC.Interfaces.API.DiracILC import DiracILC from ILCDIRAC.Interfaces.API.NewInterface.Applications import Whizard, Mokka, Marlin, OverlayInput from ILCDIRAC.Interfaces.API.NewInterface.UserJob import UserJob from DIRAC import exit as dexit dirac = DiracILC() # wh.setOutputFile("myfile.stdhep") j = UserJob() wh = Whizard(processlist=dirac.getProcessList()) wh.setEnergy(3000) wh.setEvtType("ee_h_mumu") wh.setNbEvts(1) wh.setEnergy(3000) params = {} params["USERB1"] = "F" wh.setParameterDict(params) wh.setModel("sm") res = j.append(wh) if not res["OK"]: print res["Message"] dexit(1) mo = Mokka() mo.getInputFromApp(wh)
Script.parseCommandLine() from ILCDIRAC.Interfaces.API.DiracILC import DiracILC from ILCDIRAC.Interfaces.API.NewInterface.Applications import Whizard, Mokka, Marlin, OverlayInput from ILCDIRAC.Interfaces.API.NewInterface.UserJob import UserJob from DIRAC import exit as dexit dirac =DiracILC() #wh.setOutputFile("myfile.stdhep") j = UserJob() wh = Whizard(processlist=dirac.getProcessList()) wh.setEnergy(3000) wh.setEvtType("ee_h_mumu") wh.setNbEvts(1) wh.setEnergy(3000) params = {} params['USERB1']='F' wh.setParameterDict(params) wh.setModel("sm") res = j.append(wh) if not res['OK']: print res['Message'] dexit(1) mo = Mokka() mo.getInputFromApp(wh)