Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
B3PrimaryGeneratorAction Class Reference

#include <B3PrimaryGeneratorAction.hh>

Inheritance diagram for B3PrimaryGeneratorAction:
Inheritance graph
[legend]
Collaboration diagram for B3PrimaryGeneratorAction:
Collaboration graph
[legend]

Public Member Functions

 B3PrimaryGeneratorAction ()
 
virtual ~B3PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
const G4ParticleGunGetParticleGun () const
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Detailed Description

The primary generator action class with particle gum.

It defines an ion (F18), at rest, randomly distribued within a zone in a patient defined in GeneratePrimaries(). Ion F18 can be changed with the G4ParticleGun commands (see run2.mac).

Definition at line 47 of file B3PrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

B3PrimaryGeneratorAction::B3PrimaryGeneratorAction ( )

Definition at line 44 of file B3PrimaryGeneratorAction.cc.

Here is the call graph for this function:

B3PrimaryGeneratorAction::~B3PrimaryGeneratorAction ( )
virtual

Definition at line 64 of file B3PrimaryGeneratorAction.cc.

Member Function Documentation

void B3PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

G4double x0 = 0*cm, y0 = 0*cm, z0 = 0*cm; G4double dx0 = 0*cm, dy0 = 0*cm, dz0 = 0*cm;

Implements G4VUserPrimaryGeneratorAction.

Definition at line 71 of file B3PrimaryGeneratorAction.cc.

Here is the call graph for this function:

const G4ParticleGun* B3PrimaryGeneratorAction::GetParticleGun ( void  ) const
inline

Definition at line 55 of file B3PrimaryGeneratorAction.hh.

Here is the caller graph for this function:


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