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

#include <geant4/tree/geant4-10.6-release/examples/extended/optical/LXe/include/LXePrimaryGeneratorAction.hh>

+ Inheritance diagram for LXePrimaryGeneratorAction:
+ Collaboration diagram for LXePrimaryGeneratorAction:

Public Member Functions

 LXePrimaryGeneratorAction ()
 
virtual ~LXePrimaryGeneratorAction ()
 
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 LXePrimaryGeneratorAction.hh.

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

Constructor & Destructor Documentation

LXePrimaryGeneratorAction::LXePrimaryGeneratorAction ( )

Definition at line 42 of file LXePrimaryGeneratorAction.cc.

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

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

+ Here is the call graph for this function:

LXePrimaryGeneratorAction::~LXePrimaryGeneratorAction ( )
virtual

Definition at line 59 of file LXePrimaryGeneratorAction.cc.

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

References fParticleGun.

Member Function Documentation

void LXePrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 65 of file LXePrimaryGeneratorAction.cc.

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

References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().

+ Here is the call graph for this function:

Member Data Documentation

G4ParticleGun* LXePrimaryGeneratorAction::fParticleGun
private

Definition at line 52 of file LXePrimaryGeneratorAction.hh.

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

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


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