Skip to content

Adds CheckedNamedToolsConfigured functionality

This checks whether an explicitly named tool has had any property configured.

is an attempt to detect a category of error where a tool is configured, but e.g. not added as a public tool. In which case an unconfigured default tool is created and retrieved, BUT with the expected non-default name, causing confusion.

(As you can probably imagine, we have hit exactly this problem in ATLAS a few times)

Example output is :

S:0 E: ToolSvc WARNING  Trk::TrackingVolumeArrayCreator/AtlasTrackingGeometryCondAlg.AtlasGeometryBuilder.MuonTrackingGeometryBuilderCond.TrackingVolumeArrayCreator : Explicitly named tools should be configured! (assigned name=TrackingVolumeArrayCreator, default is Trk::TrackingVolumeArrayCreator)
Edited by Edward Moyse

Merge request reports