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

Functions

 Egamma1_LArStrip_FexCfg (flags, name='Egamma1_LArStrip_Fex', caloCellProducer="EMB1CellsFromCaloCells", dump=False, dumpTerse=False, makeCaloCellContainerChecks=True, OutputLevel=None)

Variables

 logger = logging.getLogger(__name__)

Function Documentation

◆ Egamma1_LArStrip_FexCfg()

Egamma1_LArStrip_FexCfg.Egamma1_LArStrip_FexCfg ( flags,
name = 'Egamma1_LArStrip_Fex',
caloCellProducer = "EMB1CellsFromCaloCells",
dump = False,
dumpTerse = False,
makeCaloCellContainerChecks = True,
OutputLevel = None )

Definition at line 11 of file Egamma1_LArStrip_FexCfg.py.

18 OutputLevel=None):
19
20 cfg = ComponentAccumulator()
21
22
23 alg = CompFactory.GlobalSim.Egamma1_LArStrip_Fex(name)
24
25 if caloCellProducer == "EMB1CellsFromCaloCells":
26 caloCellProducer = CompFactory.GlobalSim.EMB1CellsFromCaloCells()
27 caloCellProducer.makeCaloCellContainerChecks = makeCaloCellContainerChecks
28 else:
29 logger.debug("Cell fetcher " + caloCellProducer + " not supported")
30 return cfg
31
32 roiAlgTool = CompFactory.GlobalSim.eFexRoIAlgTool()
33
34 alg.caloCellProducer = caloCellProducer
35 alg.roiAlgTool = roiAlgTool
36
37 if OutputLevel is not None:
38 alg.OutputLevel = OutputLevel
39 caloCellProducer.OutputLevel = OutputLevel
40 roiAlgTool.OutputLevel = OutputLevel
41
42 alg.dump = dump
43 alg.dumpTerse = dumpTerse
44 cfg.addEventAlgo(alg)
45
46 return cfg
47

Variable Documentation

◆ logger

Egamma1_LArStrip_FexCfg.logger = logging.getLogger(__name__)

Definition at line 7 of file Egamma1_LArStrip_FexCfg.py.