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

#include <geant4/tree/geant4-10.6-release/examples/extended/runAndEvent/RE06/include/RE06PrimaryGeneratorAction.hh>

+ Inheritance diagram for RE06PrimaryGeneratorAction:
+ Collaboration diagram for RE06PrimaryGeneratorAction:

Public Member Functions

 RE06PrimaryGeneratorAction ()
 
virtual ~RE06PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
void SetSerial (G4bool serial)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

G4ParticleGunfParticleGun
 
G4bool fSerial
 

Detailed Description

Definition at line 40 of file RE06PrimaryGeneratorAction.hh.

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

Constructor & Destructor Documentation

RE06PrimaryGeneratorAction::RE06PrimaryGeneratorAction ( )

Definition at line 41 of file RE06PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 41 of file RE06PrimaryGeneratorAction.cc

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

+ Here is the call graph for this function:

RE06PrimaryGeneratorAction::~RE06PrimaryGeneratorAction ( )
virtual

Definition at line 61 of file RE06PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 61 of file RE06PrimaryGeneratorAction.cc

References fParticleGun.

Member Function Documentation

void RE06PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 68 of file RE06PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 68 of file RE06PrimaryGeneratorAction.cc

References fParticleGun, fSerial, G4ParticleGun::GeneratePrimaryVertex(), m, and G4VPrimaryGenerator::SetParticlePosition().

+ Here is the call graph for this function:

void RE06PrimaryGeneratorAction::SetSerial ( G4bool  serial)
inline

Definition at line 48 of file RE06PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 48 of file RE06PrimaryGeneratorAction.hh

References fSerial.

Referenced by RE06DetectorConstruction::SetSerialGeometry().

+ Here is the caller graph for this function:

Member Data Documentation

G4ParticleGun* RE06PrimaryGeneratorAction::fParticleGun
private

Definition at line 51 of file RE06PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 51 of file RE06PrimaryGeneratorAction.hh

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

G4bool RE06PrimaryGeneratorAction::fSerial
private

Definition at line 52 of file RE06PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 52 of file RE06PrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), and SetSerial().


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