|
WCSim
|
Go to the source code of this file.
Namespaces | |
| MakeKin | |
Functions | |
| def | MakeKin.eventPrint |
| def | MakeKin.partPrint |
| def | MakeKin.vertPrint |
| def | MakeKin.printTrack |
Variables | |
| dictionary | MakeKin.pid |
| dictionary | MakeKin.detectors |
| tuple | MakeKin.parser = OptionParser() |
| int | MakeKin.optdefault = 1 |
| string | MakeKin.help = "number of files of particles to produce. Default: %s" |
| string | MakeKin.metavar = "#" |
| int | MakeKin.verticesPerEventDefault = 1 |
| tuple | MakeKin.optchoices = list(pid.keys()) |
| MakeKin.choices = optdefault) | |
| tuple | MakeKin.nfiles = int(options.nfiles) |
| tuple | MakeKin.npart = int(options.npart) |
| tuple | MakeKin.verticesPerEvent = int(options.verticesPerEvent) |
| tuple | MakeKin.energy = float(options.energy) |
| dictionary | MakeKin.particle |
| MakeKin.randvert = False | |
| MakeKin.randdir = False | |
| dictionary | MakeKin.nu |
| dictionary | MakeKin.prot |
| tuple | MakeKin.typestr = options.type.replace("+","plus") |
| string | MakeKin.filename = "%s_%.0fMeV_%s_%s_%s_%03i.kin" |
| tuple | MakeKin.outfile = open(filename, 'w') |
| int | MakeKin.numberDone = 0 |
| tuple | MakeKin.sigma = sqrt(verticesPerEvent) |
| tuple | MakeKin.numberToProcess = int(round(random.gauss(verticesPerEvent,sigma))) |
1.8.5