|
WCSim
|
Functions | |
| def | pair_or_single (arg) |
| def | eventPrint (nv, p, f, recno) |
| def | partPrint (p, f, recno) |
| def | vertPrint (p, f, recno) |
| def | printTrack (p, f, code=0) |
Variables | |
| dictionary | pid |
| dictionary | detectors |
| parser = OptionParser() | |
| int | optdefault = 1 |
| dest | |
| help | |
| metavar | |
| default | |
| int | verticesPerEventDefault = 1 |
| optchoices = list(pid.keys()) | |
| choices | |
| options | |
| args | |
| vertname | |
| dirname | |
| nfiles = int(options.nfiles) | |
| npart = int(options.npart) | |
| energy | |
| energystr | |
| time | |
| timestr | |
| verticesPerEvent = int(options.verticesPerEvent) | |
| dictionary | particle |
| bool | randvert = False |
| file | |
| bool | randdir = False |
| dictionary | nu |
| dictionary | prot |
| typestr = options.type.replace("+","plus").replace("-","minus") | |
| string | filename = "%s_%sMeV_%s_%s_%s_%03i.kin" % (typestr, energystr, options.vertname, options.dirname, options.detector, fileno) |
| outfile = open(filename, 'w') | |
| int | numberDone = 0 |
| sigma = sqrt(verticesPerEvent) | |
| numberToProcess = int(round(random.gauss(verticesPerEvent,sigma))) | |
| def MakeKin.eventPrint | ( | nv, | |
| p, | |||
| f, | |||
| recno | |||
| ) |
Definition at line 178 of file MakeKin.py.
| def MakeKin.pair_or_single | ( | arg | ) |
Definition at line 97 of file MakeKin.py.
| def MakeKin.partPrint | ( | p, | |
| f, | |||
| recno | |||
| ) |
Definition at line 185 of file MakeKin.py.
| def MakeKin.printTrack | ( | p, | |
| f, | |||
code = 0 |
|||
| ) |
Definition at line 227 of file MakeKin.py.
| def MakeKin.vertPrint | ( | p, | |
| f, | |||
| recno | |||
| ) |
Definition at line 190 of file MakeKin.py.
| MakeKin.args |
Definition at line 90 of file MakeKin.py.
| MakeKin.choices |
Definition at line 60 of file MakeKin.py.
| MakeKin.default |
Definition at line 39 of file MakeKin.py.
| MakeKin.dest |
Definition at line 36 of file MakeKin.py.
| dictionary MakeKin.detectors |
Definition at line 19 of file MakeKin.py.
| MakeKin.dirname |
Definition at line 93 of file MakeKin.py.
| MakeKin.energy |
Definition at line 110 of file MakeKin.py.
| MakeKin.energystr |
Definition at line 110 of file MakeKin.py.
| MakeKin.file |
Definition at line 128 of file MakeKin.py.
| string MakeKin.filename = "%s_%sMeV_%s_%s_%s_%03i.kin" % (typestr, energystr, options.vertname, options.dirname, options.detector, fileno) |
Definition at line 235 of file MakeKin.py.
| MakeKin.help |
Definition at line 37 of file MakeKin.py.
| MakeKin.metavar |
Definition at line 39 of file MakeKin.py.
| MakeKin.nfiles = int(options.nfiles) |
Definition at line 108 of file MakeKin.py.
| MakeKin.npart = int(options.npart) |
Definition at line 109 of file MakeKin.py.
| dictionary MakeKin.nu |
Definition at line 173 of file MakeKin.py.
| int MakeKin.numberDone = 0 |
Definition at line 246 of file MakeKin.py.
| MakeKin.numberToProcess = int(round(random.gauss(verticesPerEvent,sigma))) |
Definition at line 249 of file MakeKin.py.
| list MakeKin.optchoices = list(pid.keys()) |
Definition at line 54 of file MakeKin.py.
| string MakeKin.optdefault = 1 |
Definition at line 35 of file MakeKin.py.
| MakeKin.options |
Definition at line 90 of file MakeKin.py.
| MakeKin.outfile = open(filename, 'w') |
Definition at line 237 of file MakeKin.py.
| MakeKin.parser = OptionParser() |
Definition at line 34 of file MakeKin.py.
| dictionary MakeKin.particle |
Definition at line 115 of file MakeKin.py.
| dictionary MakeKin.pid |
Definition at line 11 of file MakeKin.py.
| dictionary MakeKin.prot |
Definition at line 175 of file MakeKin.py.
| bool MakeKin.randdir = False |
Definition at line 155 of file MakeKin.py.
| bool MakeKin.randvert = False |
Definition at line 122 of file MakeKin.py.
| MakeKin.sigma = sqrt(verticesPerEvent) |
Definition at line 247 of file MakeKin.py.
| MakeKin.time |
Definition at line 111 of file MakeKin.py.
| MakeKin.timestr |
Definition at line 111 of file MakeKin.py.
| MakeKin.typestr = options.type.replace("+","plus").replace("-","minus") |
Definition at line 233 of file MakeKin.py.
| MakeKin.verticesPerEvent = int(options.verticesPerEvent) |
Definition at line 112 of file MakeKin.py.
| int MakeKin.verticesPerEventDefault = 1 |
Definition at line 45 of file MakeKin.py.
| MakeKin.vertname |
Definition at line 92 of file MakeKin.py.
1.8.14