diff --git a/PhysicsAnalysis/Algorithms/AsgAnalysisAlgorithms/share/EventAlgorithmsTest_jobOptions.py b/PhysicsAnalysis/Algorithms/AsgAnalysisAlgorithms/share/EventAlgorithmsTest_jobOptions.py index 6fd7280dd7e3aa9d5025957cb8cf76e5696a6427..f34b58e95ca840f7014cf678b29198241c6365ae 100644 --- a/PhysicsAnalysis/Algorithms/AsgAnalysisAlgorithms/share/EventAlgorithmsTest_jobOptions.py +++ b/PhysicsAnalysis/Algorithms/AsgAnalysisAlgorithms/share/EventAlgorithmsTest_jobOptions.py @@ -27,6 +27,10 @@ theApp.EvtMax = 500 testFile = os.getenv ( inputfile[dataType] ) svcMgr.EventSelector.InputCollections = [testFile] +# Needed for filtering, Athena only for now +from EventBookkeeperTools.CutFlowHelpers import CreateCutFlowSvc +CreateCutFlowSvc(svcName="CutFlowSvc", seq=athAlgSeq, addMetaDataToAllOutputFiles=False) + from AsgAnalysisAlgorithms.AsgAnalysisAlgorithmsTest import makeEventAlgorithmsSequence algSeq = makeEventAlgorithmsSequence (dataType) print( algSeq ) # For debugging diff --git a/PhysicsAnalysis/Algorithms/AsgAnalysisAlgorithms/share/OverlapAlgorithmsTest_jobOptions.py b/PhysicsAnalysis/Algorithms/AsgAnalysisAlgorithms/share/OverlapAlgorithmsTest_jobOptions.py index 607ba7885078694ae82c31f5ff87df886f7a275e..cbfed27594109381fcc42748486f87eba45ded7b 100644 --- a/PhysicsAnalysis/Algorithms/AsgAnalysisAlgorithms/share/OverlapAlgorithmsTest_jobOptions.py +++ b/PhysicsAnalysis/Algorithms/AsgAnalysisAlgorithms/share/OverlapAlgorithmsTest_jobOptions.py @@ -27,6 +27,10 @@ theApp.EvtMax = 500 testFile = os.getenv ( inputfile[dataType] ) svcMgr.EventSelector.InputCollections = [testFile] +# Needed for filtering, Athena only for now +from EventBookkeeperTools.CutFlowHelpers import CreateCutFlowSvc +CreateCutFlowSvc(svcName="CutFlowSvc", seq=athAlgSeq, addMetaDataToAllOutputFiles=False) + from AsgAnalysisAlgorithms.AsgAnalysisAlgorithmsTest import makeOverlapSequence algSeq = makeOverlapSequence (dataType) print( algSeq ) # For debugging diff --git a/PhysicsAnalysis/Algorithms/TriggerAnalysisAlgorithms/share/TriggerAlgorithmsTest_jobOptions.py b/PhysicsAnalysis/Algorithms/TriggerAnalysisAlgorithms/share/TriggerAlgorithmsTest_jobOptions.py index 8bd9e31e5eb4b798448388462af016c6fe7bc6d3..ce9fee129b982dbd0411a7b56f123fbba852851a 100644 --- a/PhysicsAnalysis/Algorithms/TriggerAnalysisAlgorithms/share/TriggerAlgorithmsTest_jobOptions.py +++ b/PhysicsAnalysis/Algorithms/TriggerAnalysisAlgorithms/share/TriggerAlgorithmsTest_jobOptions.py @@ -27,6 +27,10 @@ theApp.EvtMax = 500 testFile = os.getenv ( inputfile[dataType] ) svcMgr.EventSelector.InputCollections = [testFile] +# Needed for filtering, Athena only for now +from EventBookkeeperTools.CutFlowHelpers import CreateCutFlowSvc +CreateCutFlowSvc(svcName="CutFlowSvc", seq=athAlgSeq, addMetaDataToAllOutputFiles=False) + from TriggerAnalysisAlgorithms.TriggerAnalysisAlgorithmsTest import makeSequence algSeq = makeSequence (dataType) print (algSeq) # For debugging