Public Member Functions | Public Attributes | List of all members
demo.MyPrimaryGeneratorAction Class Reference
Inheritance diagram for demo.MyPrimaryGeneratorAction:

Public Member Functions

def __init__ (self)
def GeneratePrimaries (self, event)

Public Attributes


Detailed Description

Definition at line 81 of file

Constructor & Destructor Documentation

def demo.MyPrimaryGeneratorAction.__init__ (   self)

Definition at line 84 of file

84  def __init__(self):
85  G4VUserPrimaryGeneratorAction.__init__(self)
86  self.particleGun= G4ParticleGun(1)

Member Function Documentation

def demo.MyPrimaryGeneratorAction.GeneratePrimaries (   self,

Definition at line 88 of file

88  def GeneratePrimaries(self, event):
89  self.particleGun.GeneratePrimaryVertex(event)
91 # ------------------------------------------------------------------
def GeneratePrimaries(self, event)

Member Data Documentation


Definition at line 86 of file

Referenced by test.MyPrimaryGeneratorAction.__init__().

The documentation for this class was generated from the following file: