Geant4  10.02.p02
H02PrimaryGeneratorAction Class Reference

#include <H02PrimaryGeneratorAction.hh>

+ Inheritance diagram for H02PrimaryGeneratorAction:
+ Collaboration diagram for H02PrimaryGeneratorAction:

Public Member Functions

 H02PrimaryGeneratorAction ()
 
 ~H02PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *anEvent)
 
void SetGenerator (G4VPrimaryGenerator *gen)
 
void SetGenerator (G4String genname)
 
G4VPrimaryGeneratorGetGenerator () const
 
G4String GetGeneratorName () const
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

G4VPrimaryGeneratorparticleGun
 
G4VPrimaryGeneratorhepmcAscii
 
G4VPrimaryGeneratorpythiaGen
 
G4VPrimaryGeneratorcurrentGenerator
 
G4String currentGeneratorName
 
std::map< G4String,
G4VPrimaryGenerator * > 
gentypeMap
 
H02PrimaryGeneratorMessengermessenger
 

Detailed Description

Definition at line 46 of file H02PrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

H02PrimaryGeneratorAction::H02PrimaryGeneratorAction ( )
H02PrimaryGeneratorAction::~H02PrimaryGeneratorAction ( )

Definition at line 58 of file H02PrimaryGeneratorAction.cc.

References messenger.

Member Function Documentation

void H02PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 64 of file H02PrimaryGeneratorAction.cc.

References currentGenerator, FatalException, and G4Exception().

+ Here is the call graph for this function:

G4VPrimaryGenerator * H02PrimaryGeneratorAction::GetGenerator ( ) const
inline

Definition at line 88 of file H02PrimaryGeneratorAction.hh.

References currentGenerator.

G4String H02PrimaryGeneratorAction::GetGeneratorName ( ) const
inline

Definition at line 93 of file H02PrimaryGeneratorAction.hh.

References currentGeneratorName.

void H02PrimaryGeneratorAction::SetGenerator ( G4VPrimaryGenerator gen)
inline

Definition at line 73 of file H02PrimaryGeneratorAction.hh.

References currentGenerator.

void H02PrimaryGeneratorAction::SetGenerator ( G4String  genname)
inline

Definition at line 78 of file H02PrimaryGeneratorAction.hh.

References currentGenerator, currentGeneratorName, gentypeMap, and pos.

Member Data Documentation

G4VPrimaryGenerator* H02PrimaryGeneratorAction::currentGenerator
private
G4String H02PrimaryGeneratorAction::currentGeneratorName
private
std::map<G4String, G4VPrimaryGenerator*> H02PrimaryGeneratorAction::gentypeMap
private

Definition at line 66 of file H02PrimaryGeneratorAction.hh.

Referenced by H02PrimaryGeneratorAction(), and SetGenerator().

G4VPrimaryGenerator* H02PrimaryGeneratorAction::hepmcAscii
private

Definition at line 61 of file H02PrimaryGeneratorAction.hh.

Referenced by H02PrimaryGeneratorAction().

H02PrimaryGeneratorMessenger* H02PrimaryGeneratorAction::messenger
private
G4VPrimaryGenerator* H02PrimaryGeneratorAction::particleGun
private

Definition at line 60 of file H02PrimaryGeneratorAction.hh.

Referenced by H02PrimaryGeneratorAction().

G4VPrimaryGenerator* H02PrimaryGeneratorAction::pythiaGen
private

Definition at line 62 of file H02PrimaryGeneratorAction.hh.

Referenced by H02PrimaryGeneratorAction().


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