Skip to content

Remove unnecessary IsMC setting in TRT_DriftFunctionToolConfig.py

Thomas Strebler requested to merge tstreble-main-patch-09518 into main

IsMC property is already set above in the config with

# --- set Data/MC flag
kwargs.setdefault("IsMC", flags.Input.isMC)

so the setting below for Overlay would not have any impact.

Luckily the tool ORs the IsMC and IsOverlay flags https://gitlab.cern.ch/atlas/athena/-/blob/main/InnerDetector/InDetRecTools/TRT_DriftFunctionTool/src/TRT_DriftFunctionTool.cxx#L362 so the IsMC flag has no impact if IsOverlay is set to True.

Merge request reports

Loading