ATLAS Offline Software
HandleTest_jobOptions.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 #
4 # File: AthExStoreGateExample/share/HandleTest_jobOptions.py
5 # Author: scott snyder
6 # Date: Oct, 2019
7 # Brief: Test for cross-component circular dependency warning suppression
8 # of WriteDecorHandleKey.
9 #
10 
11 import AthenaCommon.AtlasUnixGeneratorJob
12 theApp.EvtMax = 1
13 
14 from AthenaCommon.AlgSequence import AlgSequence
15 topSeq = AlgSequence()
16 
17 from AthExStoreGateExample.AthExStoreGateExampleConf import \
18  AthEx__HandleTestAlg, AthEx__HandleTestTool1, AthEx__HandleTestTool2
19 
20 # This should not get a circular dependency warning.
21 topSeq += AthEx__HandleTestAlg ('testalg1')
22 
23 # But this should.
24 topSeq += AthEx__HandleTestAlg ('testalg2',
25  Tool1 = AthEx__HandleTestTool2 ('testool2'),
26  Tool2 = AthEx__HandleTestTool1 ('testool1'))
27 
28 
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7