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

#include <geant4/tree/geant4-10.6-release/examples/extended/medical/electronScattering2/include/ElectronPrimaryGeneratorAction.hh>

+ Inheritance diagram for ElectronPrimaryGeneratorAction:
+ Collaboration diagram for ElectronPrimaryGeneratorAction:

Public Member Functions

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

Private Attributes

G4GeneralParticleSourcefParticleGun
 

Detailed Description

Definition at line 40 of file ElectronPrimaryGeneratorAction.hh.

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

Constructor & Destructor Documentation

ElectronPrimaryGeneratorAction::ElectronPrimaryGeneratorAction ( )

Definition at line 36 of file ElectronPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 36 of file ElectronPrimaryGeneratorAction.cc

References fParticleGun.

ElectronPrimaryGeneratorAction::~ElectronPrimaryGeneratorAction ( )
virtual

Definition at line 44 of file ElectronPrimaryGeneratorAction.cc.

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

References fParticleGun.

Member Function Documentation

void ElectronPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 51 of file ElectronPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 51 of file ElectronPrimaryGeneratorAction.cc

References fParticleGun, and G4GeneralParticleSource::GeneratePrimaryVertex().

+ Here is the call graph for this function:

Member Data Documentation

G4GeneralParticleSource* ElectronPrimaryGeneratorAction::fParticleGun
private

Definition at line 49 of file ElectronPrimaryGeneratorAction.hh.

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

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


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