Skip to content

Print container name of origin of runtime trigger validation error

Tim Martin requested to merge tamartin/athena:printTrigErrorContainer into master

Small refactor to pass ElementLinks rather than raw pointers.

This lets us print out the name of the container the ElementLink points to which aids debugging.

E.g. (an error I introduced to test)

L2MuisoHypoAlg                          6   0     ERROR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
L2MuisoHypoAlg                          6   0     ERROR ! RUNTIME TRIGGER NAVIGATION VALIDATION ERROR
L2MuisoHypoAlg                          6   0     ERROR ! Caused by Decision with index:0
L2MuisoHypoAlg                          6   0     ERROR ! From collection:HLTNav_L2MuisoHypo__L2MuCBHypo__L2MufastHypo__L1MU
L2MuisoHypoAlg                          6   0     ERROR ! TrigComposite_v1 name:''
L2MuisoHypoAlg                          6   0     ERROR ! Decision has no 'feature' ElementLink. Nor does its immediate parents (Combo case).

Prompted by @tbold's problem from yesterday

Merge request reports

Loading