Geant4  10.02.p03
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 ()
 

Private Attributes

G4GeneralParticleSourceparticleGun
 

Detailed Description

Definition at line 38 of file G4HumanPhantomPrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

◆ G4HumanPhantomPrimaryGeneratorAction()

G4HumanPhantomPrimaryGeneratorAction::G4HumanPhantomPrimaryGeneratorAction ( )

◆ ~G4HumanPhantomPrimaryGeneratorAction()

G4HumanPhantomPrimaryGeneratorAction::~G4HumanPhantomPrimaryGeneratorAction ( )

Definition at line 45 of file G4HumanPhantomPrimaryGeneratorAction.cc.

46 {
47  delete particleGun;
48 }

Member Function Documentation

◆ GeneratePrimaries()

void G4HumanPhantomPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 50 of file G4HumanPhantomPrimaryGeneratorAction.cc.

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

Member Data Documentation

◆ particleGun

G4GeneralParticleSource* G4HumanPhantomPrimaryGeneratorAction::particleGun
private

Definition at line 48 of file G4HumanPhantomPrimaryGeneratorAction.hh.


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