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

#include <geant4/tree/geant4-10.6-release/examples/extended/runAndEvent/RE03/include/RE03PrimaryGeneratorAction.hh>

+ Inheritance diagram for RE03PrimaryGeneratorAction:
+ Collaboration diagram for RE03PrimaryGeneratorAction:

Public Member Functions

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

Private Attributes

G4ParticleGunfParticleGun
 

Detailed Description

Definition at line 40 of file RE03PrimaryGeneratorAction.hh.

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

Constructor & Destructor Documentation

RE03PrimaryGeneratorAction::RE03PrimaryGeneratorAction ( )

Definition at line 40 of file RE03PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 40 of file RE03PrimaryGeneratorAction.cc

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

+ Here is the call graph for this function:

RE03PrimaryGeneratorAction::~RE03PrimaryGeneratorAction ( )
virtual

Definition at line 59 of file RE03PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 59 of file RE03PrimaryGeneratorAction.cc

References fParticleGun.

Member Function Documentation

void RE03PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 65 of file RE03PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 65 of file RE03PrimaryGeneratorAction.cc

References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().

+ Here is the call graph for this function:

Member Data Documentation

G4ParticleGun* RE03PrimaryGeneratorAction::fParticleGun
private

Definition at line 50 of file RE03PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 50 of file RE03PrimaryGeneratorAction.hh

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


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