ATLAS Offline Software
Functions | Variables
python.TruthCategoriesConfig Namespace Reference

Functions

def TruthCategoriesDecoratorCfg (ConfigFlags, name="TruthCategoriesDecorator", **kwargs)
 

Variables

 flags = initConfigFlags()
 
 args = flags.fillFromArgs()
 
 Files
 
 NumThreads
 
 NumConcurrentEvents
 
 cfg = MainServicesCfg(flags)
 
 msgService = cfg.getService('MessageSvc')
 
 Format
 
 sc = cfg.run(flags.Exec.MaxEvents)
 

Function Documentation

◆ TruthCategoriesDecoratorCfg()

def python.TruthCategoriesConfig.TruthCategoriesDecoratorCfg (   ConfigFlags,
  name = "TruthCategoriesDecorator",
**  kwargs 
)

Definition at line 5 of file TruthCategoriesConfig.py.

5 def TruthCategoriesDecoratorCfg(ConfigFlags, name="TruthCategoriesDecorator", **kwargs):
7  from TruthConverters.TruthConvertersCfg import xAODtoHEPToolCfg
8  from TruthRivetTools.TruthRivetToolsCfg import HiggsTruthCategoryToolCfg
9  kwargs.setdefault("HepMCTool", acc.popToolsAndMerge(xAODtoHEPToolCfg(ConfigFlags)))
10  kwargs.setdefault("CategoryTool", acc.popToolsAndMerge(HiggsTruthCategoryToolCfg(ConfigFlags)))
11  the_alg = CompFactory.DerivationFramework.TruthCategoriesDecorator(name, **kwargs)
12  acc.addEventAlgo(the_alg, primary = True)
13  return acc
14 

Variable Documentation

◆ args

python.TruthCategoriesConfig.args = flags.fillFromArgs()

Definition at line 18 of file TruthCategoriesConfig.py.

◆ cfg

python.TruthCategoriesConfig.cfg = MainServicesCfg(flags)

Definition at line 28 of file TruthCategoriesConfig.py.

◆ Files

python.TruthCategoriesConfig.Files

Definition at line 19 of file TruthCategoriesConfig.py.

◆ flags

python.TruthCategoriesConfig.flags = initConfigFlags()

Definition at line 17 of file TruthCategoriesConfig.py.

◆ Format

python.TruthCategoriesConfig.Format

Definition at line 30 of file TruthCategoriesConfig.py.

◆ msgService

python.TruthCategoriesConfig.msgService = cfg.getService('MessageSvc')

Definition at line 29 of file TruthCategoriesConfig.py.

◆ NumConcurrentEvents

python.TruthCategoriesConfig.NumConcurrentEvents

Definition at line 21 of file TruthCategoriesConfig.py.

◆ NumThreads

python.TruthCategoriesConfig.NumThreads

Definition at line 20 of file TruthCategoriesConfig.py.

◆ sc

python.TruthCategoriesConfig.sc = cfg.run(flags.Exec.MaxEvents)

Definition at line 36 of file TruthCategoriesConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TruthRivetToolsCfg.HiggsTruthCategoryToolCfg
def HiggsTruthCategoryToolCfg(flags, name="HiggsTruthCategoryTool", **kwargs)
Definition: TruthRivetToolsCfg.py:5
python.TruthCategoriesConfig.TruthCategoriesDecoratorCfg
def TruthCategoriesDecoratorCfg(ConfigFlags, name="TruthCategoriesDecorator", **kwargs)
Definition: TruthCategoriesConfig.py:5
TruthConvertersCfg.xAODtoHEPToolCfg
def xAODtoHEPToolCfg(flags, name="xAODToHepMCTool", **kwargs)
Definition: TruthConvertersCfg.py:5