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

#include <geant4/tree/geant4-10.6-release/examples/extended/biasing/GB05/include/GB05PrimaryGeneratorAction.hh>

+ Inheritance diagram for GB05PrimaryGeneratorAction:
+ Collaboration diagram for GB05PrimaryGeneratorAction:

Public Member Functions

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

Private Attributes

G4ParticleGunfParticleGun
 

Detailed Description

Definition at line 40 of file GB05PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 40 of file GB05PrimaryGeneratorAction.hh

Constructor & Destructor Documentation

GB05PrimaryGeneratorAction::GB05PrimaryGeneratorAction ( )

Definition at line 42 of file GB05PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 42 of file GB05PrimaryGeneratorAction.cc

References cm, G4ParticleTable::FindParticle(), fParticleGun, G4ParticleTable::GetParticleTable(), MeV, particle, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().

+ Here is the call graph for this function:

GB05PrimaryGeneratorAction::~GB05PrimaryGeneratorAction ( )
virtual

Definition at line 60 of file GB05PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 60 of file GB05PrimaryGeneratorAction.cc

References fParticleGun.

Member Function Documentation

void GB05PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 66 of file GB05PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 66 of file GB05PrimaryGeneratorAction.cc

References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().

+ Here is the call graph for this function:

Member Data Documentation

G4ParticleGun* GB05PrimaryGeneratorAction::fParticleGun
private

Definition at line 49 of file GB05PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 49 of file GB05PrimaryGeneratorAction.hh

Referenced by GB05PrimaryGeneratorAction(), GeneratePrimaries(), and ~GB05PrimaryGeneratorAction().


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