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

The primary generator class with general particle source. More...

#include <geant4/tree/geant4-10.6-release/examples/extended/common/include/GpsPrimaryGeneratorAction.hh>

+ Inheritance diagram for GpsPrimaryGeneratorAction:
+ Collaboration diagram for GpsPrimaryGeneratorAction:

Public Member Functions

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

Private Attributes

G4GeneralParticleSourcefGeneralParticleSource
 

Static Private Attributes

static const G4String fgkDefaultParticleName = "e-"
 
static const G4double fgkDefaultEnergy = 1.*MeV
 

Detailed Description

The primary generator class with general particle source.

Author
I. Hrivnacova; IPN Orsay

Definition at line 45 of file GpsPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 45 of file GpsPrimaryGeneratorAction.hh

Constructor & Destructor Documentation

GpsPrimaryGeneratorAction::GpsPrimaryGeneratorAction ( )

Definition at line 41 of file GpsPrimaryGeneratorAction.cc.

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

References fGeneralParticleSource.

GpsPrimaryGeneratorAction::~GpsPrimaryGeneratorAction ( )

Definition at line 50 of file GpsPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 50 of file GpsPrimaryGeneratorAction.cc

References fGeneralParticleSource.

GpsPrimaryGeneratorAction::GpsPrimaryGeneratorAction ( )
GpsPrimaryGeneratorAction::~GpsPrimaryGeneratorAction ( )
GpsPrimaryGeneratorAction::GpsPrimaryGeneratorAction ( )
GpsPrimaryGeneratorAction::~GpsPrimaryGeneratorAction ( )

Member Function Documentation

void GpsPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 57 of file GpsPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 57 of file GpsPrimaryGeneratorAction.cc

References fGeneralParticleSource, and G4GeneralParticleSource::GeneratePrimaryVertex().

+ Here is the call graph for this function:

virtual void GpsPrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void GpsPrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual

Member Data Documentation

G4GeneralParticleSource * GpsPrimaryGeneratorAction::fGeneralParticleSource
private

Definition at line 60 of file GpsPrimaryGeneratorAction.hh.

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

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

const G4double GpsPrimaryGeneratorAction::fgkDefaultEnergy = 1.*MeV
staticprivate

Definition at line 57 of file GpsPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 57 of file GpsPrimaryGeneratorAction.hh

const G4String GpsPrimaryGeneratorAction::fgkDefaultParticleName = "e-"
staticprivate

Definition at line 56 of file GpsPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 56 of file GpsPrimaryGeneratorAction.hh


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