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

Functions

 GlobalSimulationAlgCfg (flags, name="GlobalSimPU1Suppression", OutputLevel=DEBUG, dump=False)

Variables

 logger = logging.getLogger(__name__)

Function Documentation

◆ GlobalSimulationAlgCfg()

GlobalSimAlgCfg_PU1_suppression.GlobalSimulationAlgCfg ( flags,
name = "GlobalSimPU1Suppression",
OutputLevel = DEBUG,
dump = False )

Definition at line 11 of file GlobalSimAlgCfg_PU1_suppression.py.

11def GlobalSimulationAlgCfg(flags, name="GlobalSimPU1Suppression", OutputLevel=DEBUG, dump=False):
12 logger.setLevel(OutputLevel)
13
14 cfg = ComponentAccumulator()
15
16 hypoTool = CompFactory.GlobalSim.PU1SuppAlgTool('PU1SuppAlgTool')
17 hypoTool.OutputLevel = OutputLevel
18
19 alg = CompFactory.GlobalSim.GlobalSimulationAlg(name+'Alg')
20 alg.globalsim_algs = [hypoTool]
21
22 cfg.addEventAlgo(alg)
23
24 return cfg
25
26

Variable Documentation

◆ logger

GlobalSimAlgCfg_PU1_suppression.logger = logging.getLogger(__name__)

Definition at line 8 of file GlobalSimAlgCfg_PU1_suppression.py.