ATLAS Offline Software
Loading...
Searching...
No Matches
GepTowersAlgConfig.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
7 flags,
8 name,
9 TowerAlg,
10 caloClustersKey,
11 outputCaloClustersKey,
12 gepCellMapKey='GepCells',
13 OutputLevel=None):
14
15 cfg = ComponentAccumulator()
16
17 alg = CompFactory.GepTowersAlg(name,
18 gepCellMapKey=gepCellMapKey,
19 TowerAlg=TowerAlg,
20 caloClustersKey=caloClustersKey,
21 outputCaloClustersKey=outputCaloClustersKey)
22 if OutputLevel is not None:
23 alg.OutputLevel = OutputLevel
24
25 cfg.addEventAlgo(alg)
26
27 return cfg
GepTowersAlgCfg(flags, name, TowerAlg, caloClustersKey, outputCaloClustersKey, gepCellMapKey='GepCells', OutputLevel=None)