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

The primary generator action class. More...

#include <geant4/tree/geant4-10.6-release/examples/advanced/doiPET/include/doiPETPrimaryGeneratorAction.hh>

+ Inheritance diagram for doiPETPrimaryGeneratorAction:
+ Collaboration diagram for doiPETPrimaryGeneratorAction:

Public Member Functions

 doiPETPrimaryGeneratorAction ()
 
void ActivityValue ()
 
virtual ~doiPETPrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
const G4GeneralParticleSourceGetParticleGun () const
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

G4GeneralParticleSourcefParticleGun
 

Detailed Description

The primary generator action class.

Definition at line 55 of file doiPETPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 55 of file doiPETPrimaryGeneratorAction.hh

Constructor & Destructor Documentation

doiPETPrimaryGeneratorAction::doiPETPrimaryGeneratorAction ( )

Definition at line 55 of file doiPETPrimaryGeneratorAction.cc.

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

References fParticleGun.

doiPETPrimaryGeneratorAction::~doiPETPrimaryGeneratorAction ( )
virtual

Definition at line 63 of file doiPETPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 63 of file doiPETPrimaryGeneratorAction.cc

References fParticleGun.

Member Function Documentation

void doiPETPrimaryGeneratorAction::ActivityValue ( )
void doiPETPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 69 of file doiPETPrimaryGeneratorAction.cc.

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

References fParticleGun, and G4GeneralParticleSource::GeneratePrimaryVertex().

+ Here is the call graph for this function:

const G4GeneralParticleSource* doiPETPrimaryGeneratorAction::GetParticleGun ( void  ) const
inline

Definition at line 64 of file doiPETPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 64 of file doiPETPrimaryGeneratorAction.hh

References fParticleGun.

Member Data Documentation

G4GeneralParticleSource* doiPETPrimaryGeneratorAction::fParticleGun
private

Definition at line 69 of file doiPETPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 69 of file doiPETPrimaryGeneratorAction.hh

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


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