def getMokka(self): """ Define a mokka app """ from ILCDIRAC.Interfaces.API.NewInterface.Applications import Mokka mokka = Mokka() mokka.setVersion(self.mokkaVersion) mokka.setSteeringFile(self.mokkaSteeringFile) mokka.setOutputFile("testsim.slcio") mokka.setDetectorModel(self.detectorModel) if self.steeringFileVersion: mokka.setSteeringFileVersion(self.steeringFileVersion) return mokka
print "Basepath for sim&rec (output) = " + basepath print "Diskpath for stdhepsplit&dst (output) = " + diskpath print "Outtput SE : stdhepsplit(%s), SUM(%s), psplit(%s), REC&DST(%s)" % (SE_stdhepsplit, SE_sim, SE_psplit, SE_rec) print "####################################################################################" ############################################################################################## ## [PART2] Below is not to be touched ############################################################################################## ###### Whatever is below is not to be touched... Or at least only when something changes ##Split stdhepsplit = StdHepSplit() stdhepsplit.setVersion("V2") stdhepsplit.setNumberOfEventsPerFile(nbevtsperfilestdhep) ##Simulation ILD mo = Mokka() mo.setVersion(MokkaVer) ###SET HERE YOUR MOKKA VERSION, the software will come from the ILDConfig mo.setDetectorModel(detectorModel) mo.setSteeringFile("bbudsc_3evt.steer") ### Do not include '.tgz' mo.setDbSlice(dbslice) ##Simulation ILD ddsim = None if UseDD4hepGeometry: ddsim = DDSim() ddsim.setVersion(DDSimVer) ###SET HERE YOUR MOKKA VERSION, the software will come from the ILDConfig ddsim.setDetectorModel(detectorModel) ddsim.setSteeringFile("ddsim_steer.py")
def setUp(self): """set up the objects""" self.mok = Mokka({})