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

#include <geant4/tree/geant4-10.6-release/examples/advanced/underground_physics/include/DMXPrimaryGeneratorAction.hh>

+ Inheritance diagram for DMXPrimaryGeneratorAction:
+ Collaboration diagram for DMXPrimaryGeneratorAction:

Public Member Functions

 DMXPrimaryGeneratorAction ()
 
 ~DMXPrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *anEvent)
 
const long * GetEventSeeds () const
 
G4double GetEnergyPrimary () const
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

DMXParticleSourceparticleGun
 
long seeds [2]
 
G4double energy_pri
 

Detailed Description

Definition at line 57 of file DMXPrimaryGeneratorAction.hh.

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

Constructor & Destructor Documentation

DMXPrimaryGeneratorAction::DMXPrimaryGeneratorAction ( )

Definition at line 60 of file DMXPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 60 of file DMXPrimaryGeneratorAction.cc

References energy_pri, particleGun, and seeds.

DMXPrimaryGeneratorAction::~DMXPrimaryGeneratorAction ( )

Definition at line 77 of file DMXPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 77 of file DMXPrimaryGeneratorAction.cc

References particleGun.

Member Function Documentation

void DMXPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 84 of file DMXPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 84 of file DMXPrimaryGeneratorAction.cc

References G4VAnalysisManager::AddNtupleRow(), energy_pri, G4VAnalysisManager::FillNtupleDColumn(), DMXParticleSource::GeneratePrimaryVertex(), DMXParticleSource::GetParticleEnergy(), G4ToolsAnalysisManager::Instance(), particleGun, and seeds.

+ Here is the call graph for this function:

G4double DMXPrimaryGeneratorAction::GetEnergyPrimary ( ) const
inline

Definition at line 80 of file DMXPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 80 of file DMXPrimaryGeneratorAction.hh

References energy_pri.

Referenced by DMXEventAction::BeginOfEventAction().

+ Here is the caller graph for this function:

const long* DMXPrimaryGeneratorAction::GetEventSeeds ( ) const
inline

Definition at line 79 of file DMXPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 79 of file DMXPrimaryGeneratorAction.hh

References seeds.

Referenced by DMXEventAction::BeginOfEventAction().

+ Here is the caller graph for this function:

Member Data Documentation

G4double DMXPrimaryGeneratorAction::energy_pri
private

Definition at line 76 of file DMXPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 76 of file DMXPrimaryGeneratorAction.hh

Referenced by DMXPrimaryGeneratorAction(), GeneratePrimaries(), and GetEnergyPrimary().

DMXParticleSource* DMXPrimaryGeneratorAction::particleGun
private

Definition at line 70 of file DMXPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 70 of file DMXPrimaryGeneratorAction.hh

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

long DMXPrimaryGeneratorAction::seeds[2]
private

Definition at line 75 of file DMXPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 75 of file DMXPrimaryGeneratorAction.hh

Referenced by DMXPrimaryGeneratorAction(), GeneratePrimaries(), and GetEventSeeds().


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