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

 particleGun
 

Detailed Description

Definition at line 81 of file demo.py.

Constructor & Destructor Documentation

def demo.MyPrimaryGeneratorAction.__init__ (   self)

Definition at line 84 of file demo.py.

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

Member Function Documentation

def demo.MyPrimaryGeneratorAction.GeneratePrimaries (   self,
  event 
)

Definition at line 88 of file demo.py.

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

Member Data Documentation

demo.MyPrimaryGeneratorAction.particleGun

Definition at line 86 of file demo.py.

Referenced by test.MyPrimaryGeneratorAction.__init__().


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