Geant4  10.02.p01
F03PrimaryGeneratorAction Class Reference

#include <F03PrimaryGeneratorAction.hh>

+ Inheritance diagram for F03PrimaryGeneratorAction:
+ Collaboration diagram for F03PrimaryGeneratorAction:

Public Member Functions

 F03PrimaryGeneratorAction (F03DetectorConstruction *)
 
virtual ~F03PrimaryGeneratorAction ()
 
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
 
F03DetectorConstructionfDetector
 
F03PrimaryGeneratorMessengerfGunMessenger
 
G4String fRndmFlag
 
G4double fXVertex
 
G4double fYVertex
 
G4double fZVertex
 
G4bool fVertexDefined
 

Static Private Attributes

static G4ParticleDefinitionfgPrimaryParticle = 0
 

Detailed Description

Definition at line 50 of file F03PrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

F03PrimaryGeneratorAction::~F03PrimaryGeneratorAction ( )
virtual

Definition at line 94 of file F03PrimaryGeneratorAction.cc.

References fGunMessenger, and fParticleGun.

Member Function Documentation

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

Definition at line 137 of file F03PrimaryGeneratorAction.cc.

References fgPrimaryParticle, and G4ParticleDefinition::GetParticleName().

+ Here is the call graph for this function:

void F03PrimaryGeneratorAction::SetRndmFlag ( G4String  val)
inline

Definition at line 58 of file F03PrimaryGeneratorAction.hh.

References fRndmFlag.

Referenced by F03PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F03PrimaryGeneratorAction::SetXVertex ( G4double  x)

Definition at line 144 of file F03PrimaryGeneratorAction.cc.

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

Referenced by F03PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F03PrimaryGeneratorAction::SetYVertex ( G4double  y)

Definition at line 154 of file F03PrimaryGeneratorAction.cc.

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

Referenced by F03PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F03PrimaryGeneratorAction::SetZVertex ( G4double  z)

Definition at line 164 of file F03PrimaryGeneratorAction.cc.

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

Referenced by F03PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

F03DetectorConstruction* F03PrimaryGeneratorAction::fDetector
private

Definition at line 67 of file F03PrimaryGeneratorAction.hh.

Referenced by F03PrimaryGeneratorAction(), and GeneratePrimaries().

G4ParticleDefinition * F03PrimaryGeneratorAction::fgPrimaryParticle = 0
staticprivate
F03PrimaryGeneratorMessenger* F03PrimaryGeneratorAction::fGunMessenger
private
G4ParticleGun* F03PrimaryGeneratorAction::fParticleGun
private
G4String F03PrimaryGeneratorAction::fRndmFlag
private

Definition at line 70 of file F03PrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), and SetRndmFlag().

G4bool F03PrimaryGeneratorAction::fVertexDefined
private

Definition at line 74 of file F03PrimaryGeneratorAction.hh.

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

G4double F03PrimaryGeneratorAction::fXVertex
private
G4double F03PrimaryGeneratorAction::fYVertex
private
G4double F03PrimaryGeneratorAction::fZVertex
private

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