ATLAS Offline Software
JobOptsDumper.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 
5 
6 def JobOptsDumperCfg(flags, FileName="JobOptsConfig.txt"):
7  """Return ComponentAccumulator with JobOptsDumperAlg.
8 
9  This dumps the configuration to text in a file named by FileName.
10  """
11  acc = ComponentAccumulator()
12  acc.addEventAlgo(CompFactory.JobOptsDumperAlg(FileName=FileName))
13  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.JobOptsDumper.JobOptsDumperCfg
def JobOptsDumperCfg(flags, FileName="JobOptsConfig.txt")
Definition: JobOptsDumper.py:6