ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkMCTruth
python
HFHadronsCommonConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3
6
7
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
8
from
AthenaConfiguration.ComponentFactory
import
CompFactory
9
from
DerivationFrameworkMCTruth.HFDSIDList
import
DSIDList
10
11
12
def
HFHadronsCommonCfg
(flags):
13
"""Heavy flavour decorations config"""
14
acc = ComponentAccumulator()
15
acc.flagPerfmonDomain(
'Truth'
)
16
if
flags.Input.MCChannelNumber > 0
and
flags.Input.MCChannelNumber
in
DSIDList:
17
from
DerivationFrameworkMCTruth.TruthDerivationToolsConfig
import
HadronOriginDecoratorCfg
18
tool = acc.getPrimaryAndMerge(HadronOriginDecoratorCfg(flags, name=
"DFCommonHadronOriginDecorator"
))
19
acc.addEventAlgo(CompFactory.DerivationFramework.CommonAugmentation(name=
"HFHadronsCommonKernel"
, AugmentationTools=[tool]))
20
return
acc
python.HFHadronsCommonConfig.HFHadronsCommonCfg
HFHadronsCommonCfg(flags)
Definition
HFHadronsCommonConfig.py:12
Generated on
for ATLAS Offline Software by
1.17.0