Skip to content
Snippets Groups Projects
Commit 5e8793e9 authored by Tamara Vazquez Schroeder's avatar Tamara Vazquez Schroeder
Browse files

Merge branch 'HijingEventParsFix_ATLASSIM-3588_21.0' into '21.0'

Look for StreamHITS in the Streams AlgSequence rather than topSequence

See merge request atlas/athena!9074

Former-commit-id: 40c80827c1340094a1433f2c25bb6f42caeb9785
parents 61db32bf a1ee0f89
No related merge requests found
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
job = AlgSequence() job = AlgSequence("Streams")
if hasattr(job, 'StreamHITS'): if hasattr(job, 'StreamHITS'):
job.StreamHITS.ItemList += ["LArHitContainer#*"] job.StreamHITS.ItemList += ["LArHitContainer#*"]
......
...@@ -37,7 +37,9 @@ else: ...@@ -37,7 +37,9 @@ else:
## configure Athena for POOL persistency ## configure Athena for POOL persistency
streamAlgs = ['StreamHITS','StreamRDO','StreamESD','StreamAOD'] streamAlgs = ['StreamHITS','StreamRDO','StreamESD','StreamAOD']
streamSeq = AlgSequence("Streams")
for stream in streamAlgs: for stream in streamAlgs:
outStream = getattr(topSequence, stream, None) outStream = getattr(streamSeq, stream, None)
if outStream is not None: if outStream is not None:
outStream.ItemList += [ "HijingEventParams#Hijing_event_params" ] outStream.ItemList += [ "HijingEventParams#Hijing_event_params" ]
...@@ -357,7 +357,7 @@ topSeq += getAlgorithm("BeamEffectsAlg", tryDefaultConfigurable=True) ...@@ -357,7 +357,7 @@ topSeq += getAlgorithm("BeamEffectsAlg", tryDefaultConfigurable=True)
## Populate alg sequence ## Populate alg sequence
topSeq += getAlgorithm("G4AtlasAlg",tryDefaultConfigurable=True) topSeq += getAlgorithm("G4AtlasAlg",tryDefaultConfigurable=True)
#ServiceMgr.AthenaOutputStream.StreamHITS.ItemList = ['EventInfo#*'] #AlgSequence("Streams").StreamHITS.ItemList = ['EventInfo#*']
from AthenaCommon.AppMgr import AppMgr from AthenaCommon.AppMgr import AppMgr
AppMgr.EvtMax = myMaxEvent AppMgr.EvtMax = myMaxEvent
......
...@@ -353,7 +353,7 @@ topSeq += getAlgorithm("BeamEffectsAlg", tryDefaultConfigurable=True) ...@@ -353,7 +353,7 @@ topSeq += getAlgorithm("BeamEffectsAlg", tryDefaultConfigurable=True)
## Populate alg sequence ## Populate alg sequence
topSeq += getAlgorithm("G4AtlasAlg",tryDefaultConfigurable=True) topSeq += getAlgorithm("G4AtlasAlg",tryDefaultConfigurable=True)
#ServiceMgr.AthenaOutputStream.StreamHITS.ItemList = ['EventInfo#*'] #AlgSequence("Streams").StreamHITS.ItemList = ['EventInfo#*']
ToolSvc.MuonTrackingGeometryBuilder.BlendInertMaterial = False ToolSvc.MuonTrackingGeometryBuilder.BlendInertMaterial = False
TestSTEP_Propagator.Straggling = False TestSTEP_Propagator.Straggling = False
......
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