3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaCommon.Logging
import logging
7 logger = logging.getLogger(__name__)
13 name='Egamma1_LArStrip_Fex_RowAware',
14 caloCellProducer="EMB1CellsFromCaloCells",
17 makeCaloCellContainerChecks=True,
23 alg = CompFactory.GlobalSim.Egamma1_LArStrip_Fex_RowAware(name)
25 if caloCellProducer ==
"EMB1CellsFromCaloCells":
26 caloCellProducer = CompFactory.GlobalSim.EMB1CellsFromCaloCells()
27 caloCellProducer.makeCaloCellContainerChecks = makeCaloCellContainerChecks
29 caloCellProducer.caloCells =
"AllCalo"
31 caloCellProducer.caloCells =
"SeedLessFS"
33 logger.debug(
"Cell fetcher " + caloCellProducer +
" not supported")
36 roiAlgTool = CompFactory.GlobalSim.eFexRoIAlgTool()
38 alg.caloCellProducer = caloCellProducer
39 alg.roiAlgTool = roiAlgTool
41 if OutputLevel
is not None:
42 alg.OutputLevel = OutputLevel
43 caloCellProducer.OutputLevel = OutputLevel
44 roiAlgTool.OutputLevel = OutputLevel
47 alg.dumpTerse = dumpTerse