Geant4  10.00.p02
F01PrimaryGeneratorAction Class Reference

#include <F01PrimaryGeneratorAction.hh>

+ Inheritance diagram for F01PrimaryGeneratorAction:
+ Collaboration diagram for F01PrimaryGeneratorAction:

Public Member Functions

 F01PrimaryGeneratorAction (F01DetectorConstruction *)
 
virtual ~F01PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
void SetRndmFlag (G4String val)
 
void SetXVertex (G4double x)
 
void SetYVertex (G4double y)
 
void SetZVertex (G4double z)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Static Public Member Functions

static G4String GetPrimaryName ()
 

Private Attributes

G4ParticleGunfParticleGun
 
F01DetectorConstructionfDetector
 
F01PrimaryGeneratorMessengerfGunMessenger
 
G4String fRndmFlag
 
G4double fXVertex
 
G4double fYVertex
 
G4double fZVertex
 
G4bool fVertexDefined
 

Static Private Attributes

static G4ParticleDefinitionfgPrimaryParticle = 0
 

Detailed Description

Definition at line 50 of file F01PrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

F01PrimaryGeneratorAction::~F01PrimaryGeneratorAction ( )
virtual

Definition at line 95 of file F01PrimaryGeneratorAction.cc.

References fGunMessenger, and fParticleGun.

Member Function Documentation

void F01PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual
G4String F01PrimaryGeneratorAction::GetPrimaryName ( )
static

Definition at line 138 of file F01PrimaryGeneratorAction.cc.

References fgPrimaryParticle, and G4ParticleDefinition::GetParticleName().

+ Here is the call graph for this function:

void F01PrimaryGeneratorAction::SetRndmFlag ( G4String  val)
inline

Definition at line 58 of file F01PrimaryGeneratorAction.hh.

References fRndmFlag.

Referenced by F01PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F01PrimaryGeneratorAction::SetXVertex ( G4double  x)

Definition at line 155 of file F01PrimaryGeneratorAction.cc.

References fVertexDefined, fXVertex, G4cout, G4endl, and mm.

Referenced by F01PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F01PrimaryGeneratorAction::SetYVertex ( G4double  y)

Definition at line 165 of file F01PrimaryGeneratorAction.cc.

References fVertexDefined, fYVertex, G4cout, G4endl, and mm.

Referenced by F01PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F01PrimaryGeneratorAction::SetZVertex ( G4double  z)

Definition at line 145 of file F01PrimaryGeneratorAction.cc.

References fVertexDefined, fZVertex, G4cout, G4endl, mm, and z.

Referenced by F01PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

F01DetectorConstruction* F01PrimaryGeneratorAction::fDetector
private

Definition at line 67 of file F01PrimaryGeneratorAction.hh.

Referenced by F01PrimaryGeneratorAction(), and GeneratePrimaries().

G4ParticleDefinition * F01PrimaryGeneratorAction::fgPrimaryParticle = 0
staticprivate
F01PrimaryGeneratorMessenger* F01PrimaryGeneratorAction::fGunMessenger
private
G4ParticleGun* F01PrimaryGeneratorAction::fParticleGun
private
G4String F01PrimaryGeneratorAction::fRndmFlag
private

Definition at line 70 of file F01PrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), and SetRndmFlag().

G4bool F01PrimaryGeneratorAction::fVertexDefined
private

Definition at line 74 of file F01PrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), SetXVertex(), SetYVertex(), and SetZVertex().

G4double F01PrimaryGeneratorAction::fXVertex
private
G4double F01PrimaryGeneratorAction::fYVertex
private
G4double F01PrimaryGeneratorAction::fZVertex
private

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