Skip to content
Snippets Groups Projects
Commit b3ad815c authored by Scott Snyder's avatar Scott Snyder Committed by scott snyder
Browse files

AthenaCommon: Reorganize streams to fix event filtering.

Event filtering was broken because the contents of athFilterSeq were
being unrolled into athMasterSeq, which in turn had StopOverride set
in order to ensure that registration always gets run.

Remove the unrolling, and move athRegStreams to athMasterSeq.


Former-commit-id: ac0fe07f
parent dc31766c
No related branches found
No related tags found
No related merge requests found
...@@ -299,10 +299,7 @@ class AthAppMgr( AppMgr ): ...@@ -299,10 +299,7 @@ class AthAppMgr( AppMgr ):
ipa2=IPA("IncidentProcAlg2") ipa2=IPA("IncidentProcAlg2")
athEndSeq += ipa2 athEndSeq += ipa2
# unroll AthFilterSeq to save some function calls and athMasterSeq += athFilterSeq
# stack size on the C++ side
for c in athFilterSeq.getChildren():
athMasterSeq += c
# XXX: should we discard empty sequences ? # XXX: should we discard empty sequences ?
# might save some CPU and memory... # might save some CPU and memory...
...@@ -324,8 +321,8 @@ class AthAppMgr( AppMgr ): ...@@ -324,8 +321,8 @@ class AthAppMgr( AppMgr ):
athAlgEvtSeq += athAllAlgSeq athAlgEvtSeq += athAllAlgSeq
athAlgEvtSeq += athEndSeq athAlgEvtSeq += athEndSeq
athMasterSeq += athAlgEvtSeq athFilterSeq += athAlgEvtSeq
athMasterSeq += athOutSeq athFilterSeq += athOutSeq
athMasterSeq += athRegSeq athMasterSeq += athRegSeq
Logging.log.debug ("building master sequence... [done]") Logging.log.debug ("building master sequence... [done]")
...@@ -975,8 +972,8 @@ def AuditorSvc(): # backwards compatibility ...@@ -975,8 +972,8 @@ def AuditorSvc(): # backwards compatibility
# +--- athEndSeq # +--- athEndSeq
# | # |
# +--- athOutSeq # +--- athOutSeq
# | # |
# +--- athRegStreams # +--- athRegStreams
athMasterSeq = AlgSequence.AthSequencer( "AthMasterSeq" ) athMasterSeq = AlgSequence.AthSequencer( "AthMasterSeq" )
athFilterSeq = AlgSequence.AthSequencer( "AthFilterSeq" ) athFilterSeq = AlgSequence.AthSequencer( "AthFilterSeq" )
athCondSeq = AlgSequence.AthSequencer( "AthCondSeq" ) athCondSeq = AlgSequence.AthSequencer( "AthCondSeq" )
......
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