coincidence_HM.inds_into_before#
Back to Module page
Summary#
Gives indices into cand_before_veto for triggers in cand_after_veto We can use tolist(), but this is almost 10 times faster
Signature#
def inds_into_before(cand_after_veto, cand_before_veto, isort_after, isort_before)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
n1 x n_det x (row of processedclist) array with candidates after vetoes |
||
|
(n2 > n1) x n_det x (row of processedclist) array with candidates before vetoes |
||
|
n1 array with arrays for lexicographic sort of cand_after_veto |
||
|
n2 array with arrays for lexicographic sort of cand_before_veto |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Docstring#
Gives indices into cand_before_veto for triggers in cand_after_veto
We can use tolist(), but this is almost 10 times faster
:param cand_after_veto:
n1 x n_det x (row of processedclist) array with candidates
after vetoes
:param cand_before_veto:
(n2 > n1) x n_det x (row of processedclist) array with candidates
before vetoes
:param isort_after:
n1 array with arrays for lexicographic sort of cand_after_veto
:param isort_before:
n2 array with arrays for lexicographic sort of cand_before_veto
:return: