ATLAS Offline Software
Functions | Variables
GlobalSimAlgCfg_Egamma1BDT Namespace Reference

Functions

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

Variables

 logger
 

Function Documentation

◆ GlobalSimulationAlgCfg()

def GlobalSimAlgCfg_Egamma1BDT.GlobalSimulationAlgCfg (   flags,
  name = "GlobalSimEgamma1BDTAlg",
  OutputLevel = DEBUG,
  dump = False 
)

Definition at line 10 of file GlobalSimAlgCfg_Egamma1BDT.py.

10 def GlobalSimulationAlgCfg(flags,
11  name="GlobalSimEgamma1BDTAlg",
12  OutputLevel=DEBUG,
13  dump=False):
14 
15  logger.setLevel(OutputLevel)
16 
17  cfg = ComponentAccumulator()
18 
19  bdtTool = CompFactory.GlobalSim.Egamma1BDTAlgTool(name+'AlgTool')
20  bdtTool.enableDump = dump
21  bdtTool.OutputLevel = OutputLevel
22 
23  alg = CompFactory.GlobalSim.GlobalSimulationAlg(name)
24  alg.globalsim_algs = [bdtTool]
25  alg.enableDumps = dump
26 
27  cfg.addEventAlgo(alg)
28 
29  return cfg

Variable Documentation

◆ logger

GlobalSimAlgCfg_Egamma1BDT.logger

Definition at line 7 of file GlobalSimAlgCfg_Egamma1BDT.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
GlobalSimAlgCfg_Egamma1BDT.GlobalSimulationAlgCfg
def GlobalSimulationAlgCfg(flags, name="GlobalSimEgamma1BDTAlg", OutputLevel=DEBUG, dump=False)
Definition: GlobalSimAlgCfg_Egamma1BDT.py:10