Geant4  10.01.p02
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 ()
 

Private Attributes

G4GeneralParticleSourcefGeneralParticleSource
 

Static Private Attributes

static const G4String fgkDefaultParticleName = "e-"
 
static const G4double fgkDefaultEnergy = 1*MeV
 

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.

References fGeneralParticleSource.

ExG4PrimaryGeneratorAction02::~ExG4PrimaryGeneratorAction02 ( )

Definition at line 51 of file ExG4PrimaryGeneratorAction02.cc.

References fGeneralParticleSource.

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.

References fGeneralParticleSource, and G4GeneralParticleSource::GeneratePrimaryVertex().

+ Here is the call graph for this function:

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

Member Data Documentation

G4GeneralParticleSource * ExG4PrimaryGeneratorAction02::fGeneralParticleSource
private
const G4double ExG4PrimaryGeneratorAction02::fgkDefaultEnergy = 1*MeV
staticprivate

Definition at line 61 of file ExG4PrimaryGeneratorAction02.hh.

const G4String ExG4PrimaryGeneratorAction02::fgkDefaultParticleName = "e-"
staticprivate

Definition at line 60 of file ExG4PrimaryGeneratorAction02.hh.


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