Skip to content
Snippets Groups Projects
Commit d9d64e9f authored by Steven Andrew Farrell's avatar Steven Andrew Farrell
Browse files

Workaround to disable Tag algorithm in G4Hive.

Disabling the EventInfoTagBuilder from top sequence in G4HiveExOpts.
This is a workaround because the EventInfoTagBuilder doesn't work and
shouldn't be on the top sequence anyway.


Former-commit-id: 7ce03357
parent 2d6e6790
No related branches found
No related tags found
No related merge requests found
......@@ -184,6 +184,14 @@ sdMaster = ToolSvc.SensitiveDetectorMasterTool
larSDs = [sd for sd in sdMaster.SensitiveDetectors if sd.name().startswith('LAr')]
for sd in larSDs: sdMaster.SensitiveDetectors.remove(sd)
# Workaround to disable the EventInfoTagBuilder.
# Not sure how it gets on the sequence.
try:
topSeq.remove(topSeq.EventInfoTagBuilder)
except AttributeError as e:
msg.warning('EventInfoTagBuilder no longer on TopSeq')
msg.warning('Probably safe to disable workaround now.')
# Increase verbosity of the output stream
#topSeq.StreamHITS.OutputLevel = DEBUG
......
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