ATLAS Offline Software
Functions
python.HFHadronsCommonConfig Namespace Reference

Functions

def HFHadronsCommonCfg (flags)
 

Function Documentation

◆ HFHadronsCommonCfg()

def python.HFHadronsCommonConfig.HFHadronsCommonCfg (   flags)
Heavy flavour decorations config

Definition at line 12 of file HFHadronsCommonConfig.py.

12 def HFHadronsCommonCfg(flags):
13  """Heavy flavour decorations config"""
14  acc = ComponentAccumulator()
15 
16  if flags.Input.MCChannelNumber > 0 and flags.Input.MCChannelNumber in DSIDList:
17  from DerivationFrameworkMCTruth.TruthDerivationToolsConfig import HadronOriginClassifierCfg
18  DFCommonhadronorigintool = acc.getPrimaryAndMerge(HadronOriginClassifierCfg(flags,
19  name="DFCommonHadronOriginClassifier",
20  DSID=flags.Input.MCChannelNumber))
21  from DerivationFrameworkMCTruth.TruthDerivationToolsConfig import HadronOriginDecoratorCfg
22  DFCommonhadronorigindecorator = acc.getPrimaryAndMerge(HadronOriginDecoratorCfg(flags,
23  name="DFCommonHadronOriginDecorator",
24  ToolName=DFCommonhadronorigintool))
25  CommonAugmentation = CompFactory.DerivationFramework.CommonAugmentation
26  acc.addEventAlgo(CommonAugmentation(name="HFHadronsCommonKernel",
27  AugmentationTools=[DFCommonhadronorigindecorator]))
28  return acc
python.TruthDerivationToolsConfig.HadronOriginDecoratorCfg
def HadronOriginDecoratorCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:239
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TruthDerivationToolsConfig.HadronOriginClassifierCfg
def HadronOriginClassifierCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:231
python.HFHadronsCommonConfig.HFHadronsCommonCfg
def HFHadronsCommonCfg(flags)
Definition: HFHadronsCommonConfig.py:12