Commit a837ab95 authored by Tomasz Bold's avatar Tomasz Bold
Browse files

One step of egamma reco

parent 5a56cc00
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
def EMBremCollectionBuilderCfg(flags,
name="EMBremCollectionBuilder",
**kwargs):
acc = ComponentAccumulator()
if "TrackParticleCreatorTool" not in kwargs:
from InDetConfig.TrackRecoConfig import TrackParticleCreatorToolCfg
kwargs["TrackParticleCreatorTool"] = acc.popToolsAndMerge(TrackParticleCreatorToolCfg(flags, "GSFBuildInDetParticleCreatorTool"))
# TBC
# if "TrackRefitTool" not in kwargs:
# kwargs["TrackRefitTool"] = acc.popToolsAndMerge( )
alg = CompFactory.EMBremCollectionBuilder(name, **kwargs)
acc.addEventAlgo(alg)
return acc
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment