![]() |
FairShip
|
Public Member Functions | |
| __init__ (self, prov, rng) | |
| keeps (self, i, t_obs=None) | |
| keeps_point (self, i, t) | |
| analog_weight (self, i) | |
Public Attributes | |
| prov = prov | |
| dict | choice = {} |
| keeps_track = np.array([self.keeps(i) for i in range(len(prov))], dtype=bool) | |
Protected Member Functions | |
| _survives_to (self, s, branch_time, branch_weight) | |
One analog-like realisation of a split event. For every split set one outcome is drawn with probability proportional to its weight: one of the stored decay alternatives, or "something else" (a decay whose clones were pruned, or no decay at all). In the latter case a second number decides how far along the survivor line the track got, so that survivor-line tracks are kept consistently. A kept track stands for the event with the weight of its primary, analog_weight(i).
Definition at line 223 of file split_provenance.py.
| split_provenance.Desplit.__init__ | ( | self, | |
| prov, | |||
| rng ) |
Definition at line 234 of file split_provenance.py.
|
protected |
Definition at line 249 of file split_provenance.py.
| split_provenance.Desplit.analog_weight | ( | self, | |
| i ) |
Weight a kept track carries in the de-split event: that of its primary.
Definition at line 272 of file split_provenance.py.
| split_provenance.Desplit.keeps | ( | self, | |
| i, | |||
| t_obs = None ) |
Whether track i exists, or for t_obs its observation at that time.
Definition at line 257 of file split_provenance.py.
| split_provenance.Desplit.keeps_point | ( | self, | |
| i, | |||
| t ) |
Whether a hit of track i at time t exists (matters for survivor-line tracks).
Definition at line 268 of file split_provenance.py.
| dict split_provenance.Desplit.choice = {} |
Definition at line 236 of file split_provenance.py.
| split_provenance.Desplit.keeps_track = np.array([self.keeps(i) for i in range(len(prov))], dtype=bool) |
Definition at line 247 of file split_provenance.py.
| split_provenance.Desplit.prov = prov |
Definition at line 235 of file split_provenance.py.