3from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory
import CompFactory
7 """Configure the tau selection tool"""
8 acc = ComponentAccumulator()
9 TauSelectionTool = CompFactory.TauAnalysisTools.TauSelectionTool
10 acc.setPrivateTools(TauSelectionTool(name, **kwargs))
15 acc = ComponentAccumulator()
16 tool = CompFactory.TauAnalysisTools.TauTruthMatchingTool(name, **kwargs)
17 acc.setPrivateTools(tool)
22 """Configure the BuildTruthTaus tool"""
23 acc = ComponentAccumulator()
24 acc.setPrivateTools(CompFactory.TauAnalysisTools.BuildTruthTaus(name, **kwargs))
29 """Configre an alg to build truth taus"""
30 acc = ComponentAccumulator()
32 CompFactory.TauAnalysisTools.BuildTruthTausAlg(
34 BuildTruthTaus=CompFactory.TauAnalysisTools.BuildTruthTaus(
36 WriteInvisibleFourMomentum=
True,
37 WriteVisibleNeutralFourMomentum=
True,
40 (
'xAOD::TruthParticleContainer' ,
'StoreGateSvc+TruthTaus' )