ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
H02PrimaryGeneratorAction Class Reference

#include <geant4/tree/geant4-10.6-release/examples/extended/eventgenerator/HepMC/HepMCEx02/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

G4VPrimaryGeneratorfParticleGun
 
G4VPrimaryGeneratorfHepmcAscii
 
G4VPrimaryGeneratorfPythiaGen
 
G4VPrimaryGeneratorfCurrentGenerator
 
G4String fCurrentGeneratorName
 
std::map< G4String,
G4VPrimaryGenerator * > 
fGentypeMap
 
H02PrimaryGeneratorMessengerfMessenger
 

Detailed Description

Definition at line 45 of file H02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 45 of file H02PrimaryGeneratorAction.hh

Constructor & Destructor Documentation

H02PrimaryGeneratorAction::H02PrimaryGeneratorAction ( )

Definition at line 37 of file H02PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 37 of file H02PrimaryGeneratorAction.cc

References fCurrentGenerator, fCurrentGeneratorName, fGentypeMap, fHepmcAscii, fMessenger, fParticleGun, and fPythiaGen.

H02PrimaryGeneratorAction::~H02PrimaryGeneratorAction ( )

Definition at line 58 of file H02PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 58 of file H02PrimaryGeneratorAction.cc

References fMessenger.

Member Function Documentation

void H02PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 64 of file H02PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 64 of file H02PrimaryGeneratorAction.cc

References FatalException, fCurrentGenerator, and G4Exception().

+ Here is the call graph for this function:

G4VPrimaryGenerator * H02PrimaryGeneratorAction::GetGenerator ( ) const
inline

Definition at line 87 of file H02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 87 of file H02PrimaryGeneratorAction.hh

References fCurrentGenerator.

G4String H02PrimaryGeneratorAction::GetGeneratorName ( ) const
inline

Definition at line 92 of file H02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 92 of file H02PrimaryGeneratorAction.hh

References fCurrentGeneratorName.

void H02PrimaryGeneratorAction::SetGenerator ( G4VPrimaryGenerator gen)
inline

Definition at line 72 of file H02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 72 of file H02PrimaryGeneratorAction.hh

References fCurrentGenerator.

void H02PrimaryGeneratorAction::SetGenerator ( G4String  genname)
inline

Definition at line 77 of file H02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 77 of file H02PrimaryGeneratorAction.hh

References fCurrentGenerator, fCurrentGeneratorName, fGentypeMap, and pos().

+ Here is the call graph for this function:

Member Data Documentation

G4VPrimaryGenerator* H02PrimaryGeneratorAction::fCurrentGenerator
private

Definition at line 63 of file H02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 63 of file H02PrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), GetGenerator(), H02PrimaryGeneratorAction(), and SetGenerator().

G4String H02PrimaryGeneratorAction::fCurrentGeneratorName
private

Definition at line 64 of file H02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 64 of file H02PrimaryGeneratorAction.hh

Referenced by GetGeneratorName(), H02PrimaryGeneratorAction(), and SetGenerator().

std::map<G4String, G4VPrimaryGenerator*> H02PrimaryGeneratorAction::fGentypeMap
private

Definition at line 65 of file H02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 65 of file H02PrimaryGeneratorAction.hh

Referenced by H02PrimaryGeneratorAction(), and SetGenerator().

G4VPrimaryGenerator* H02PrimaryGeneratorAction::fHepmcAscii
private

Definition at line 60 of file H02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 60 of file H02PrimaryGeneratorAction.hh

Referenced by H02PrimaryGeneratorAction().

H02PrimaryGeneratorMessenger* H02PrimaryGeneratorAction::fMessenger
private

Definition at line 67 of file H02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 67 of file H02PrimaryGeneratorAction.hh

Referenced by H02PrimaryGeneratorAction(), and ~H02PrimaryGeneratorAction().

G4VPrimaryGenerator* H02PrimaryGeneratorAction::fParticleGun
private

Definition at line 59 of file H02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 59 of file H02PrimaryGeneratorAction.hh

Referenced by H02PrimaryGeneratorAction().

G4VPrimaryGenerator* H02PrimaryGeneratorAction::fPythiaGen
private

Definition at line 61 of file H02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 61 of file H02PrimaryGeneratorAction.hh

Referenced by H02PrimaryGeneratorAction().


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