16 from OutputStreamAthenaPool.OutputStreamConfig
import outputStreamName
18 newList = [x
for x
in StreamAOD.ItemList
if "Tau" in x]
19 StreamAOD.ItemList = newList
22 newList = [x
for x
in StreamESD.ItemList
if "Tau" in x]
23 StreamESD.ItemList = newList
26 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
29 from AthenaConfiguration.TestDefaults
import defaultTestFiles
30 flags.Exec.MaxEvents = 20
31 flags.Input.Files = defaultTestFiles.RDO_RUN2
32 from AthenaConfiguration.Enums
import ProductionStep
33 flags.Common.ProductionStep = ProductionStep.Reconstruction
36 flags.Output.ESDFileName =
"myESD.pool.root"
37 flags.Output.AODFileName =
"myAOD.pool.root"
43 from AthenaConfiguration.DetectorConfigFlags
import setupDetectorFlags
45 toggle_geometry=
True, keep_beampipe=
True)
48 from tauRec.ConfigurationHelpers
import StandaloneTauRecoFlags
50 flags.Tau.TauRec.SeedJetCollection =
"AntiKt4EMTopoJets"
53 from RecJobTransforms.RecoSteering
import RecoSteering
60 from DigitizationConfig.DigitizationSteering
import DigitizationMessageSvcCfg
63 from AthenaConfiguration.Utils
import setupLoggingLevels
67 from RecJobTransforms.RecoConfigFlags
import printRecoFlags
71 statusCode = acc.run()
76 if __name__ ==
"__main__":
79 assert statusCode
is not None,
"Issue while running"
80 sys.exit(
not statusCode.isSuccess())