ATLAS Offline Software
Functions | Variables
GlobalSimAlgCfg_hypo_mult_ctest Namespace Reference

Functions

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

Variables

 logger
 

Function Documentation

◆ GlobalSimulationAlgCfg()

def GlobalSimAlgCfg_hypo_mult_ctest.GlobalSimulationAlgCfg (   flags,
  name = "GlobalSimHypoMult",
  OutputLevel = DEBUG,
  dump = False 
)

Definition at line 10 of file GlobalSimAlgCfg_hypo_mult_ctest.py.

10 def GlobalSimulationAlgCfg(flags,
11  name="GlobalSimHypoMult",
12  OutputLevel=DEBUG,
13  dump=False):
14 
15  logger.setLevel(OutputLevel)
16 
17  cfg = ComponentAccumulator()
18 
19  test_bench = CompFactory.GlobalSim.eEmMultTestBench("eEmMultTestBench")
20  test_bench.OutputLevel = OutputLevel
21  cfg.addEventAlgo(test_bench)
22 
23  tool = CompFactory.GlobalSim.eEmMultAlgTool('eEmMultAlgTool')
24  tool.rhad = '0'
25  tool.rhad_op = '<='
26  tool.reta = '0'
27  tool.reta_op = '<='
28  tool.wstot = '0'
29  tool.wstot_op = '<='
30 
31  tool.OutputLevel = OutputLevel
32 
33  alg = CompFactory.GlobalSim.GlobalSimulationAlg(name + 'Alg')
34  alg.TIPwriters = [tool]
35 
36  alg.enableDumps = dump
37  alg.OutputLevel = OutputLevel
38  cfg.addEventAlgo(alg)
39 
40 
41  comparator_alg = CompFactory.GlobalSim.eEmMultTestComparator(
42  'eEmMultTestComparator')
43  comparator_alg.OutputLevel = OutputLevel
44 
45 
46  cfg.addEventAlgo(comparator_alg)
47 
48  return cfg

Variable Documentation

◆ logger

GlobalSimAlgCfg_hypo_mult_ctest.logger

Definition at line 7 of file GlobalSimAlgCfg_hypo_mult_ctest.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:342
GlobalSimAlgCfg_hypo_mult_ctest.GlobalSimulationAlgCfg
def GlobalSimulationAlgCfg(flags, name="GlobalSimHypoMult", OutputLevel=DEBUG, dump=False)
Definition: GlobalSimAlgCfg_hypo_mult_ctest.py:10