ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigGepPerf
python
GepPi0AlgConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentFactory
import
CompFactory
4
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
5
6
def
GepPi0AlgCfg
(
7
flags,
8
name,
9
caloCellsProducer="EMB1CellsFromCaloClusters",
10
dump=False,
11
OutputLevel=None):
12
13
cfg = ComponentAccumulator()
14
15
alg = CompFactory.GepPi0Alg(name)
16
if
caloCellsProducer ==
"EMB1CellsFromCaloCells"
:
17
alg.caloCellsProducer = CompFactory.EMB1CellsFromCaloCells()
18
else
:
19
alg.caloCellsProducer = CompFactory.EMB1CellsFromCaloClusters()
20
21
if
OutputLevel
is
not
None
:
22
alg.OutputLevel = OutputLevel
23
24
alg.dump = dump
25
cfg.addEventAlgo(alg)
26
27
return
cfg
28
29
GepPi0AlgConfig.GepPi0AlgCfg
GepPi0AlgCfg(flags, name, caloCellsProducer="EMB1CellsFromCaloClusters", dump=False, OutputLevel=None)
Definition
GepPi0AlgConfig.py:11
Generated on
for ATLAS Offline Software by
1.17.0