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

#include <geant4/tree/geant4-10.6-release/environments/g4py/tests/g4pytest/ParticleGun/ParticleGunAction.hh>

+ Inheritance diagram for ParticleGunAction:
+ Collaboration diagram for ParticleGunAction:

Public Member Functions

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

Private Attributes

G4ParticleGunparticleGun
 

Detailed Description

Definition at line 43 of file ParticleGunAction.hh.

View newest version in sPHENIX GitHub at line 43 of file ParticleGunAction.hh

Constructor & Destructor Documentation

ParticleGunAction::ParticleGunAction ( )

Definition at line 41 of file ParticleGunAction.cc.

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

References particleGun.

ParticleGunAction::~ParticleGunAction ( )

Definition at line 48 of file ParticleGunAction.cc.

View newest version in sPHENIX GitHub at line 48 of file ParticleGunAction.cc

References particleGun.

Member Function Documentation

void ParticleGunAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 55 of file ParticleGunAction.cc.

View newest version in sPHENIX GitHub at line 55 of file ParticleGunAction.cc

References particleGun.

G4ParticleGun * ParticleGunAction::GetParticleGun ( ) const
inline

Definition at line 60 of file ParticleGunAction.hh.

View newest version in sPHENIX GitHub at line 60 of file ParticleGunAction.hh

References particleGun.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

Member Data Documentation

G4ParticleGun* ParticleGunAction::particleGun
private

Definition at line 46 of file ParticleGunAction.hh.

View newest version in sPHENIX GitHub at line 46 of file ParticleGunAction.hh

Referenced by GeneratePrimaries(), GetParticleGun(), ParticleGunAction(), and ~ParticleGunAction().


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