Geant4  10.01.p03
DMXPrimaryGeneratorAction Class Reference

#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.

Constructor & Destructor Documentation

DMXPrimaryGeneratorAction::DMXPrimaryGeneratorAction ( )

Definition at line 60 of file DMXPrimaryGeneratorAction.cc.

References energy_pri, particleGun, and seeds.

DMXPrimaryGeneratorAction::~DMXPrimaryGeneratorAction ( )

Definition 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.

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

+ Here is the call graph for this function:

G4double DMXPrimaryGeneratorAction::GetEnergyPrimary ( ) const
inline

Definition 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.

References seeds.

Referenced by DMXEventAction::BeginOfEventAction().

+ Here is the caller graph for this function:

Member Data Documentation

G4double DMXPrimaryGeneratorAction::energy_pri
private
DMXParticleSource* DMXPrimaryGeneratorAction::particleGun
private
long DMXPrimaryGeneratorAction::seeds[2]
private

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