ranking_HM.reform_coherent_scores#
Back to Module page
Summary#
Edits input structures in place via aliasing and returns scores_bg_by_subbank
Signature#
def reform_coherent_scores(cands_preveto_max, median_normfacs_by_subbank)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
List (bg/fg/lvc/inj) of lists (n_trigger) with each element having a set of event attributes (prior terms, pclists, loc_id, sensitivity params, other stuff) |
||
|
Dictionary with n_det array of median normfacs for each subbank ID |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Recomputes the median, and edits the prior terms and median normfacs in place. It also returns the background split by subbank |
Docstring#
Edits input structures in place via aliasing and returns
scores_bg_by_subbank
:param cands_preveto_max:
List (bg/fg/lvc/inj) of lists (n_trigger) with each element having a set
of event attributes
(prior terms, pclists, loc_id, sensitivity params, other stuff)
:param median_normfacs_by_subbank:
Dictionary with n_det array of median normfacs for each subbank ID
:return:
Recomputes the median, and edits the prior terms and median normfacs in
place. It also returns the background split by subbank