Skip to content
Snippets Groups Projects

Add ability to disable BCM

Fatras does not simulate the BCM, and therefore when RawInfoSummaryForTagWriter attempts to retrieve BCM RDOs, dereferencing the associated VarHandle fails and leads to a crash.

Instead of introducing a new property explicitly, this commit uses the auto-declaring property constructor for the associated ReadHandleKey; to disable the reading of BCM RDOs, this key can be made empty in job configuration, which will record zero BCM hits in the RISFTobject.

When using Fatras-based simulators, disable the reading of BCM RDOs with:

--preExec <...> 'RAWtoESD:from EventTagRawAlgs.EventTagRawAlgsConf import RawInfoSummaryForTagWriter;RawInfoSummaryForTagWriter.BCM_RDOKey=""';

Closes ATLASSIM-4561

Edited by Vincent Pascuzzi

Merge request reports

Pipeline #1663527 passed

Pipeline passed for 56c34000 on vpascuzz:master.RISFTW_FastChain_BCM.fix

Merged by Frank WinklmeierFrank Winklmeier 4 years ago (May 27, 2020 6:56pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading