ATLAS Offline Software
Functions
python.G4DebuggingToolsConfig Namespace Reference

Functions

def VerboseSelectorToolCfg (flags, name="G4UA::VerboseSelectorTool", **kwargs)
 
def VolumeDebuggerToolCfg (flags, name='G4UA::VolumeDebuggerTool', **kwargs)
 
def VolumeDebugger (configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
 

Function Documentation

◆ VerboseSelectorToolCfg()

def python.G4DebuggingToolsConfig.VerboseSelectorToolCfg (   flags,
  name = "G4UA::VerboseSelectorTool",
**  kwargs 
)

Definition at line 8 of file G4DebuggingToolsConfig.py.

8 def VerboseSelectorToolCfg(flags, name="G4UA::VerboseSelectorTool", **kwargs): result = ComponentAccumulator()
9  # example custom configuration - not enabled in this initial version
10  #if name in flags.Sim.UserActionConfig.keys():
11  # for prop,value in flags.Sim.UserActionConfig[name].items():
12  # kwargs.setdefault(prop,value)
13  result.setPrivateTools(CompFactory.G4UA.VerboseSelectorTool(name, **kwargs))
14  return result
15 
16 
17 

◆ VolumeDebugger()

def python.G4DebuggingToolsConfig.VolumeDebugger (   configFlags,
  name = "G4UA::ISFFullUserActionSvc",
**  kwargs 
)

Definition at line 24 of file G4DebuggingToolsConfig.py.

24 def VolumeDebugger(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs):
25 
26  kwargs.setdefault("RunGeoTest",True)
27  kwargs.setdefault("Verbose",False)
28 
29  result = ComponentAccumulator()
30  #Setting up the CA for the LengthIntegrator
31  from G4DebuggingTools.G4DebuggingToolsConfig import VolumeDebuggerToolCfg
32  actionAcc = ComponentAccumulator()
33  actions = []
34  actions += [actionAcc.popToolsAndMerge(VolumeDebuggerToolCfg(configFlags,**kwargs))]
35  actionAcc.setPrivateTools(actions)
36  volumeDebuggerAction = result.popToolsAndMerge(actionAcc)
37 
38  actionList = volumeDebuggerAction
39  #We clear it here because UserActionsTools also wants kwargs, different
40  #from the tool above - probably this can be improved...
41  kwargs_UATools = {}
42  kwargs_UATools.setdefault("UserActionTools",actionList)
43  result.addService(CompFactory.G4UA.UserActionSvc(name,**kwargs_UATools))
44 
45  return result

◆ VolumeDebuggerToolCfg()

def python.G4DebuggingToolsConfig.VolumeDebuggerToolCfg (   flags,
  name = 'G4UA::VolumeDebuggerTool',
**  kwargs 
)

Definition at line 18 of file G4DebuggingToolsConfig.py.

18 def VolumeDebuggerToolCfg(flags, name='G4UA::VolumeDebuggerTool', **kwargs):
19  result = ComponentAccumulator()
20  result.setPrivateTools(CompFactory.G4UA.VolumeDebuggerTool(name,**kwargs))
21  return result
22 
23 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.G4DebuggingToolsConfig.VerboseSelectorToolCfg
def VerboseSelectorToolCfg(flags, name="G4UA::VerboseSelectorTool", **kwargs)
Definition: G4DebuggingToolsConfig.py:8
python.G4DebuggingToolsConfig.VolumeDebugger
def VolumeDebugger(configFlags, name="G4UA::ISFFullUserActionSvc", **kwargs)
Definition: G4DebuggingToolsConfig.py:24
python.G4DebuggingToolsConfig.VolumeDebuggerToolCfg
def VolumeDebuggerToolCfg(flags, name='G4UA::VolumeDebuggerTool', **kwargs)
Definition: G4DebuggingToolsConfig.py:18