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
16
if
flags.Input.MCChannelNumber > 0
and
flags.Input.MCChannelNumber
in
DSIDList:
17
from
DerivationFrameworkMCTruth.TruthDerivationToolsConfig
import
HadronOriginDecoratorCfg
18
DFCommonhadronorigindecorator = acc.getPrimaryAndMerge(HadronOriginDecoratorCfg(flags,
19
name=
"DFCommonHadronOriginDecorator"
))
20
CommonAugmentation = CompFactory.DerivationFramework.CommonAugmentation
21
acc.addEventAlgo(CommonAugmentation(name=
"HFHadronsCommonKernel"
,
22
AugmentationTools=[DFCommonhadronorigindecorator]))
23
return
acc
python.HFHadronsCommonConfig.HFHadronsCommonCfg
HFHadronsCommonCfg(flags)
Definition
HFHadronsCommonConfig.py:12
Generated on
for ATLAS Offline Software by
1.17.0