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

#include <geant4/tree/geant4-10.6-release/examples/extended/biasing/B02/include/B02PrimaryGeneratorAction.hh>

+ Inheritance diagram for B02PrimaryGeneratorAction:
+ Collaboration diagram for B02PrimaryGeneratorAction:

Public Member Functions

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

Private Attributes

G4ParticleGunfParticleGun
 

Detailed Description

Definition at line 39 of file B02PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 39 of file B02PrimaryGeneratorAction.hh

Constructor & Destructor Documentation

B02PrimaryGeneratorAction::B02PrimaryGeneratorAction ( )

Definition at line 44 of file B02PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 44 of file B02PrimaryGeneratorAction.cc

References cm, fParticleGun, MeV, G4Neutron::NeutronDefinition(), G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().

+ Here is the call graph for this function:

B02PrimaryGeneratorAction::~B02PrimaryGeneratorAction ( )

Definition at line 57 of file B02PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 57 of file B02PrimaryGeneratorAction.cc

References fParticleGun.

Member Function Documentation

void B02PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 64 of file B02PrimaryGeneratorAction.cc.

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

References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().

+ Here is the call graph for this function:

Member Data Documentation

G4ParticleGun* B02PrimaryGeneratorAction::fParticleGun
private

Definition at line 49 of file B02PrimaryGeneratorAction.hh.

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

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


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