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

The primary generator class with general particle source. More...

#include <ExG4PrimaryGeneratorAction02.hh>

Inheritance diagram for ExG4PrimaryGeneratorAction02:
Collaboration diagram for ExG4PrimaryGeneratorAction02:

Public Member Functions

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

Detailed Description

The primary generator class with general particle source.

Author
I. Hrivnacova; IPN Orsay

Definition at line 49 of file ExG4PrimaryGeneratorAction02.hh.

Constructor & Destructor Documentation

ExG4PrimaryGeneratorAction02::ExG4PrimaryGeneratorAction02 ( )

Definition at line 42 of file ExG4PrimaryGeneratorAction02.cc.

44  fGeneralParticleSource(0)
45 {
46  fGeneralParticleSource = new G4GeneralParticleSource();
47 }
ExG4PrimaryGeneratorAction02::~ExG4PrimaryGeneratorAction02 ( )

Definition at line 51 of file ExG4PrimaryGeneratorAction02.cc.

52 {
53  delete fGeneralParticleSource;
54 }
ExG4PrimaryGeneratorAction02::ExG4PrimaryGeneratorAction02 ( )
ExG4PrimaryGeneratorAction02::~ExG4PrimaryGeneratorAction02 ( )
ExG4PrimaryGeneratorAction02::ExG4PrimaryGeneratorAction02 ( )
ExG4PrimaryGeneratorAction02::~ExG4PrimaryGeneratorAction02 ( )

Member Function Documentation

void ExG4PrimaryGeneratorAction02::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 58 of file ExG4PrimaryGeneratorAction02.cc.

59 {
60  // this function is called at the begining of event
61 
62  fGeneralParticleSource->GeneratePrimaryVertex(anEvent);
63 }

Here is the call graph for this function:

virtual void ExG4PrimaryGeneratorAction02::GeneratePrimaries ( G4Event )
virtual
virtual void ExG4PrimaryGeneratorAction02::GeneratePrimaries ( G4Event )
virtual

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