Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4HumanPhantomPrimaryGeneratorAction Class Reference

#include <G4HumanPhantomPrimaryGeneratorAction.hh>

Inheritance diagram for G4HumanPhantomPrimaryGeneratorAction:
Collaboration diagram for G4HumanPhantomPrimaryGeneratorAction:

Public Member Functions

 G4HumanPhantomPrimaryGeneratorAction ()
 
 ~G4HumanPhantomPrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *anEvent)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Detailed Description

Definition at line 38 of file G4HumanPhantomPrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

G4HumanPhantomPrimaryGeneratorAction::G4HumanPhantomPrimaryGeneratorAction ( )

Definition at line 40 of file G4HumanPhantomPrimaryGeneratorAction.cc.

41 {
42  particleGun = new G4GeneralParticleSource();
43 }
G4HumanPhantomPrimaryGeneratorAction::~G4HumanPhantomPrimaryGeneratorAction ( )

Definition at line 45 of file G4HumanPhantomPrimaryGeneratorAction.cc.

46 {
47  delete particleGun;
48 }

Member Function Documentation

void G4HumanPhantomPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 50 of file G4HumanPhantomPrimaryGeneratorAction.cc.

51 {
52  particleGun -> GeneratePrimaryVertex(anEvent);
53 }

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