![]() |
FairShip
|
Public Member Functions | |
| __init__ (self, mother, split_set, split_role, split_weight, start_t, weight, proc_id=None) | |
| from_tracks (cls, tracks) | |
| __len__ (self) | |
| lineage (self, i) | |
| initial_weight (self, i) | |
| compatible (self, i, j, t_i=math.inf, t_j=math.inf) | |
| pair_weight (self, i, j, t_i=math.inf, t_j=math.inf) | |
| desplit (self, rng) | |
Public Attributes | |
| mother = np.asarray(mother, dtype=int) | |
| split_set = np.asarray(split_set, dtype=int) | |
| split_role = np.asarray(split_role, dtype=int) | |
| split_weight = np.asarray(split_weight, dtype=float) | |
| start_t = np.asarray(start_t, dtype=float) | |
| weight = np.asarray(weight, dtype=float) | |
| tuple | continuation |
| dict | sets = {} |
Protected Member Functions | |
| _line_weight_at_start (self, a) | |
| _links (self, i, t_obs, at_start=False) | |
Protected Attributes | |
| dict | _lineages = {} |
Split-set structure of one event; see the module docstring.
Definition at line 63 of file split_provenance.py.
| split_provenance.SplitProvenance.__init__ | ( | self, | |
| mother, | |||
| split_set, | |||
| split_role, | |||
| split_weight, | |||
| start_t, | |||
| weight, | |||
| proc_id = None ) |
Definition at line 66 of file split_provenance.py.
| split_provenance.SplitProvenance.__len__ | ( | self | ) |
Definition at line 111 of file split_provenance.py.
|
protected |
Weight of the survivor line where survivor track a starts.
Definition at line 129 of file split_provenance.py.
|
protected |
Split sets on the lineage of i (at most one member each, since members are siblings). If i is itself on a survivor line, it is observed at t_obs with its stored weight (the weight at the end of its path, e.g. at the scoring plane where tracks stop), or with at_start at its own start.
Definition at line 139 of file split_provenance.py.
| split_provenance.SplitProvenance.compatible | ( | self, | |
| i, | |||
| j, | |||
| t_i = math.inf, | |||
| t_j = math.inf ) |
Whether tracks i and j can exist in the same real event. t_i, t_j: when a survivor-line track is itself the observed object (e.g. a hit of the split kaon), the time of that observation.
Definition at line 165 of file split_provenance.py.
| split_provenance.SplitProvenance.desplit | ( | self, | |
| rng ) |
Draw one outcome per split set; see Desplit.
Definition at line 218 of file split_provenance.py.
| split_provenance.SplitProvenance.from_tracks | ( | cls, | |
| tracks ) |
From a sequence of ShipMCTrack (e.g. event.MCTrack).
Definition at line 93 of file split_provenance.py.
| split_provenance.SplitProvenance.initial_weight | ( | self, | |
| i ) |
Weight of track i when it was created (before any split of its own).
Definition at line 125 of file split_provenance.py.
| split_provenance.SplitProvenance.lineage | ( | self, | |
| i ) |
Track i and its ancestors, nearest first.
Definition at line 116 of file split_provenance.py.
| split_provenance.SplitProvenance.pair_weight | ( | self, | |
| i, | |||
| j, | |||
| t_i = math.inf, | |||
| t_j = math.inf ) |
Weight of the pair (i, j) for unbiased pair observables; 0 if incompatible.
Definition at line 184 of file split_provenance.py.
|
protected |
Definition at line 90 of file split_provenance.py.
| tuple split_provenance.SplitProvenance.continuation |
Definition at line 75 of file split_provenance.py.
| split_provenance.SplitProvenance.mother = np.asarray(mother, dtype=int) |
Definition at line 67 of file split_provenance.py.
| dict split_provenance.SplitProvenance.sets = {} |
Definition at line 80 of file split_provenance.py.
| split_provenance.SplitProvenance.split_role = np.asarray(split_role, dtype=int) |
Definition at line 69 of file split_provenance.py.
| split_provenance.SplitProvenance.split_set = np.asarray(split_set, dtype=int) |
Definition at line 68 of file split_provenance.py.
| split_provenance.SplitProvenance.split_weight = np.asarray(split_weight, dtype=float) |
Definition at line 70 of file split_provenance.py.
| split_provenance.SplitProvenance.start_t = np.asarray(start_t, dtype=float) |
Definition at line 71 of file split_provenance.py.
| split_provenance.SplitProvenance.weight = np.asarray(weight, dtype=float) |
Definition at line 72 of file split_provenance.py.