Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
root_test.MyPrimaryGeneratorAction Class Reference
Inheritance diagram for root_test.MyPrimaryGeneratorAction:
Collaboration diagram for root_test.MyPrimaryGeneratorAction:

Public Member Functions

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

Public Attributes

 particleGun
 

Detailed Description

Definition at line 62 of file root_test.py.

Constructor & Destructor Documentation

def root_test.MyPrimaryGeneratorAction.__init__ (   self)

Definition at line 65 of file root_test.py.

65 
66  def __init__(self):
67  G4VUserPrimaryGeneratorAction.__init__(self)
68  self.particleGun= G4ParticleGun(1)

Member Function Documentation

def root_test.MyPrimaryGeneratorAction.GeneratePrimaries (   self,
  event 
)

Definition at line 69 of file root_test.py.

69 
70  def GeneratePrimaries(self, event):
71  self.particleGun.GeneratePrimaryVertex(event)
72 
# ------------------------------------------------------------------

Member Data Documentation

root_test.MyPrimaryGeneratorAction.particleGun

Definition at line 67 of file root_test.py.


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