ATLAS Offline Software
Loading...
Searching...
No Matches
GepPi0AlgConfig Namespace Reference

Functions

 GepPi0AlgCfg (flags, name, caloCellsProducer="EMB1CellsFromCaloClusters", dump=False, OutputLevel=None)

Function Documentation

◆ GepPi0AlgCfg()

GepPi0AlgConfig.GepPi0AlgCfg ( flags,
name,
caloCellsProducer = "EMB1CellsFromCaloClusters",
dump = False,
OutputLevel = None )

Definition at line 6 of file GepPi0AlgConfig.py.

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