ATLAS Offline Software
Loading...
Searching...
No Matches
GepClusteringAlgConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentFactory import CompFactory
4from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5
6def GepClusteringAlgCfg(flags, name='GepClusteringAlg',
7 TopoClAlg='GEPBasic',
8 gepCellMapKey='GEPCells',
9 outputCaloClustersKey='GEPBasicClusters',
10 OutputLevel=None):
11
12 cfg = ComponentAccumulator()
13
14 alg = CompFactory.GepClusteringAlg(
15 name,
16 TopoClAlg=TopoClAlg,
17 gepCellMapKey=gepCellMapKey,
18 outputCaloClustersKey=outputCaloClustersKey
19 )
20
21 if OutputLevel is not None:
22 alg.OutputLevel = OutputLevel
23
24 cfg.addEventAlgo(alg)
25 return cfg
26
27
GepClusteringAlgCfg(flags, name='GepClusteringAlg', TopoClAlg='GEPBasic', gepCellMapKey='GEPCells', outputCaloClustersKey='GEPBasicClusters', OutputLevel=None)