DDG4 Namespace Reference

Classes

class  Geant4
 

Functions

def loadDDG4 ()
 
def importConstants (description, namespace=None, debug=False)
 
def SensitiveAction (kernel, nam, det, shared=False)
 
def Action (kernel, nam, shared=False)
 
def Filter (kernel, nam, shared=False)
 
def PhaseAction (kernel, nam, shared=False)
 
def RunAction (kernel, nam, shared=False)
 
def EventAction (kernel, nam, shared=False)
 
def GeneratorAction (kernel, nam, shared=False)
 
def TrackingAction (kernel, nam, shared=False)
 
def SteppingAction (kernel, nam, shared=False)
 
def StackingAction (kernel, nam, shared=False)
 
def DetectorConstruction (kernel, nam)
 
def PhysicsList (kernel, nam)
 
def UserInitialization (kernel, nam)
 
def SensitiveSequence (kernel, nam)
 

Variables

 logger = logging.getLogger(__name__)
 
 current = __import__(__name__)
 
 Core = dd4hep
 
 Sim = dd4hep.sim
 
 Simulation = dd4hep.sim
 
 Kernel = Sim.KernelHandle
 
 Interface = Sim.Geant4ActionCreation
 
 Detector = Core.Detector
 
 ActionHandle = Sim.ActionHandle
 
 Simple = Geant4
 

Function Documentation

◆ Action()

def DDG4.Action (   kernel,
  nam,
  shared = False 
)

Definition at line 181 of file DDG4.py.

◆ DetectorConstruction()

def DDG4.DetectorConstruction (   kernel,
  nam 
)

Definition at line 217 of file DDG4.py.

◆ EventAction()

def DDG4.EventAction (   kernel,
  nam,
  shared = False 
)

Definition at line 197 of file DDG4.py.

◆ Filter()

def DDG4.Filter (   kernel,
  nam,
  shared = False 
)

Definition at line 185 of file DDG4.py.

◆ GeneratorAction()

def DDG4.GeneratorAction (   kernel,
  nam,
  shared = False 
)

Definition at line 201 of file DDG4.py.

◆ importConstants()

def DDG4.importConstants (   description,
  namespace = None,
  debug = False 
)
Import the Detector constants into the DDG4 namespace

Definition at line 79 of file DDG4.py.

◆ loadDDG4()

def DDG4.loadDDG4 ( )

Definition at line 19 of file DDG4.py.

◆ PhaseAction()

def DDG4.PhaseAction (   kernel,
  nam,
  shared = False 
)

Definition at line 189 of file DDG4.py.

◆ PhysicsList()

def DDG4.PhysicsList (   kernel,
  nam 
)

Definition at line 221 of file DDG4.py.

◆ RunAction()

def DDG4.RunAction (   kernel,
  nam,
  shared = False 
)

Definition at line 193 of file DDG4.py.

◆ SensitiveAction()

def DDG4.SensitiveAction (   kernel,
  nam,
  det,
  shared = False 
)

Definition at line 177 of file DDG4.py.

◆ SensitiveSequence()

def DDG4.SensitiveSequence (   kernel,
  nam 
)

Definition at line 229 of file DDG4.py.

◆ StackingAction()

def DDG4.StackingAction (   kernel,
  nam,
  shared = False 
)

Definition at line 213 of file DDG4.py.

◆ SteppingAction()

def DDG4.SteppingAction (   kernel,
  nam,
  shared = False 
)

Definition at line 209 of file DDG4.py.

◆ TrackingAction()

def DDG4.TrackingAction (   kernel,
  nam,
  shared = False 
)

Definition at line 205 of file DDG4.py.

◆ UserInitialization()

def DDG4.UserInitialization (   kernel,
  nam 
)

Definition at line 225 of file DDG4.py.

Variable Documentation

◆ ActionHandle

DDG4.ActionHandle = Sim.ActionHandle

Definition at line 174 of file DDG4.py.

◆ Core

DDG4.Core = dd4hep

Definition at line 64 of file DDG4.py.

◆ current

DDG4.current = __import__(__name__)

Definition at line 46 of file DDG4.py.

◆ Detector

DDG4.Detector = Core.Detector

Definition at line 69 of file DDG4.py.

◆ Interface

DDG4.Interface = Sim.Geant4ActionCreation

Definition at line 68 of file DDG4.py.

◆ Kernel

DDG4.Kernel = Sim.KernelHandle

Definition at line 67 of file DDG4.py.

◆ logger

DDG4.logger = logging.getLogger(__name__)

Definition at line 16 of file DDG4.py.

◆ Sim

DDG4.Sim = dd4hep.sim

Definition at line 65 of file DDG4.py.

◆ Simple

DDG4.Simple = Geant4

Definition at line 800 of file DDG4.py.

◆ Simulation

DDG4.Simulation = dd4hep.sim

Definition at line 66 of file DDG4.py.