|
WCSim
|
Functions | |
| def | eventPrint |
| def | partPrint |
| def | vertPrint |
| def | printTrack |
Variables | |
| dictionary | pid |
| dictionary | detectors |
| tuple | parser = OptionParser() |
| int | optdefault = 1 |
| string | help = "number of files of particles to produce. Default: %s" |
| string | metavar = "#" |
| int | verticesPerEventDefault = 1 |
| tuple | optchoices = list(pid.keys()) |
| choices = optdefault) | |
| tuple | nfiles = int(options.nfiles) |
| tuple | npart = int(options.npart) |
| tuple | verticesPerEvent = int(options.verticesPerEvent) |
| tuple | energy = float(options.energy) |
| dictionary | particle |
| randvert = False | |
| randdir = False | |
| dictionary | nu |
| dictionary | prot |
| tuple | typestr = options.type.replace("+","plus") |
| string | filename = "%s_%.0fMeV_%s_%s_%s_%03i.kin" |
| tuple | outfile = open(filename, 'w') |
| int | numberDone = 0 |
| tuple | sigma = sqrt(verticesPerEvent) |
| tuple | numberToProcess = int(round(random.gauss(verticesPerEvent,sigma))) |
| def MakeKin.eventPrint | ( | nv, | |
| p, | |||
| f, | |||
| recno | |||
| ) |
Definition at line 160 of file MakeKin.py.
| def MakeKin.partPrint | ( | p, | |
| f, | |||
| recno | |||
| ) |
Definition at line 167 of file MakeKin.py.
| def MakeKin.printTrack | ( | p, | |
| f, | |||
code = 0 |
|||
| ) |
Definition at line 201 of file MakeKin.py.
| def MakeKin.vertPrint | ( | p, | |
| f, | |||
| recno | |||
| ) |
Definition at line 172 of file MakeKin.py.
| MakeKin.choices = optdefault) |
Definition at line 58 of file MakeKin.py.
| dictionary MakeKin.detectors |
Definition at line 19 of file MakeKin.py.
| tuple MakeKin.energy = float(options.energy) |
Definition at line 93 of file MakeKin.py.
| string MakeKin.filename = "%s_%.0fMeV_%s_%s_%s_%03i.kin" |
Definition at line 209 of file MakeKin.py.
| string MakeKin.help = "number of files of particles to produce. Default: %s" |
Definition at line 35 of file MakeKin.py.
| string MakeKin.metavar = "#" |
Definition at line 37 of file MakeKin.py.
| tuple MakeKin.nfiles = int(options.nfiles) |
Definition at line 90 of file MakeKin.py.
| tuple MakeKin.npart = int(options.npart) |
Definition at line 91 of file MakeKin.py.
| dictionary MakeKin.nu |
Definition at line 155 of file MakeKin.py.
| MakeKin.numberDone = 0 |
Definition at line 220 of file MakeKin.py.
| tuple MakeKin.numberToProcess = int(round(random.gauss(verticesPerEvent,sigma))) |
Definition at line 223 of file MakeKin.py.
| tuple MakeKin.optchoices = list(pid.keys()) |
Definition at line 52 of file MakeKin.py.
| string MakeKin.optdefault = 1 |
Definition at line 33 of file MakeKin.py.
| tuple MakeKin.outfile = open(filename, 'w') |
Definition at line 211 of file MakeKin.py.
| tuple MakeKin.parser = OptionParser() |
Definition at line 32 of file MakeKin.py.
| dictionary MakeKin.particle |
Definition at line 97 of file MakeKin.py.
| dictionary MakeKin.pid |
Definition at line 11 of file MakeKin.py.
| dictionary MakeKin.prot |
Definition at line 157 of file MakeKin.py.
| MakeKin.randdir = False |
Definition at line 137 of file MakeKin.py.
| MakeKin.randvert = False |
Definition at line 104 of file MakeKin.py.
| tuple MakeKin.sigma = sqrt(verticesPerEvent) |
Definition at line 221 of file MakeKin.py.
| tuple MakeKin.typestr = options.type.replace("+","plus") |
Definition at line 207 of file MakeKin.py.
| tuple MakeKin.verticesPerEvent = int(options.verticesPerEvent) |
Definition at line 92 of file MakeKin.py.
| int MakeKin.verticesPerEventDefault = 1 |
Definition at line 43 of file MakeKin.py.
1.8.5