Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Data Fields
demo.MyPrimaryGeneratorAction Class Reference
Inheritance diagram for demo.MyPrimaryGeneratorAction:
G4VUserPrimaryGeneratorAction

Public Member Functions

def __init__
 
def GeneratePrimaries
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *anEvent)=0
 

Data Fields

 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 
85  def __init__(self):
86  G4VUserPrimaryGeneratorAction.__init__(self)
87  self.particleGun= G4ParticleGun(1)

Member Function Documentation

def demo.MyPrimaryGeneratorAction.GeneratePrimaries (   self,
  event 
)

Definition at line 88 of file demo.py.

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

Field 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: