diff --git a/Simulation/G4Sim/G4HiveEx/share/G4HiveExOpts.py b/Simulation/G4Sim/G4HiveEx/share/G4HiveExOpts.py index f558655274f0268498061bde8755b89707476b6c..cf1644e1fb738cdc8dc4f4572a02ca83e810a480 100644 --- a/Simulation/G4Sim/G4HiveEx/share/G4HiveExOpts.py +++ b/Simulation/G4Sim/G4HiveEx/share/G4HiveExOpts.py @@ -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