Skip to content
Snippets Groups Projects
Commit d7540f2f authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Merge branch 'AM_invalidvalue_tistos' into 'master'

Followup from Rec!3337 (improve invalid value handling for tistos)

See merge request !971
parents 74696aad ace11745
No related branches found
Tags v41r7
1 merge request!971Followup from https://gitlab.cern.ch/lhcb/Rec/-/merge_requests/3337 (improve invalid value handling for tistos)
Pipeline #5519535 passed
......@@ -169,10 +169,15 @@ def HltTisTos(*, selection_type: str, trigger_lines: List[str],
DecReports=hlt1_dec,
TriggerLines=trigger_lines).P2TisTosTable
hlt1tistos_info = {
selection_type: F.VALUE @ F.MAP_TO_RELATED(TisTosRelations)
}
return FunctorCollection(hlt1tistos_info)
hlt1tistos_info = FunctorCollection({
f'{line}_TOS': F.IS_TOS(line, TisTosRelations)
for line in trigger_lines
})
hlt1tistos_info += FunctorCollection({
f'{line}_TIS': F.IS_TIS(line, TisTosRelations)
for line in trigger_lines
})
return hlt1tistos_info
def Kinematics() -> FunctorCollection:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment