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

#include <geant4/tree/geant4-10.6-release/examples/advanced/brachytherapy/include/BrachyPrimaryGeneratorAction.hh>

+ Inheritance diagram for BrachyPrimaryGeneratorAction:
+ Collaboration diagram for BrachyPrimaryGeneratorAction:

Public Member Functions

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

Private Attributes

G4GeneralParticleSourcegun
 

Detailed Description

Definition at line 43 of file BrachyPrimaryGeneratorAction.hh.

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

Constructor & Destructor Documentation

BrachyPrimaryGeneratorAction::BrachyPrimaryGeneratorAction ( )

Definition at line 56 of file BrachyPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 56 of file BrachyPrimaryGeneratorAction.cc

References gun.

BrachyPrimaryGeneratorAction::~BrachyPrimaryGeneratorAction ( )

Definition at line 64 of file BrachyPrimaryGeneratorAction.cc.

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

References gun.

Member Function Documentation

void BrachyPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 69 of file BrachyPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 69 of file BrachyPrimaryGeneratorAction.cc

References static_analysis_results::analysis(), energy, BrachyAnalysisManager::GetInstance(), gun, and CLHEP::keV.

+ Here is the call graph for this function:

Member Data Documentation

G4GeneralParticleSource* BrachyPrimaryGeneratorAction::gun
private

Definition at line 53 of file BrachyPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 53 of file BrachyPrimaryGeneratorAction.hh

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


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