Geant4  10.02.p02
F04PrimaryGeneratorAction Class Reference

#include <F04PrimaryGeneratorAction.hh>

+ Inheritance diagram for F04PrimaryGeneratorAction:
+ Collaboration diagram for F04PrimaryGeneratorAction:

Public Member Functions

 F04PrimaryGeneratorAction (F04DetectorConstruction *)
 
virtual ~F04PrimaryGeneratorAction ()
 
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 ()
 

Private Attributes

F04DetectorConstructionfDetector
 
G4ParticleGunfParticleGun
 
F04PrimaryGeneratorMessengerfGunMessenger
 
G4String fRndmFlag
 
G4bool fFirst
 
G4AffineTransform fGlobal2local
 
G4double fXvertex
 
G4double fYvertex
 
G4double fZvertex
 
G4bool fVertexdefined
 

Detailed Description

Definition at line 47 of file F04PrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

F04PrimaryGeneratorAction::F04PrimaryGeneratorAction ( F04DetectorConstruction detectorConstruction)
F04PrimaryGeneratorAction::~F04PrimaryGeneratorAction ( )
virtual

Definition at line 77 of file F04PrimaryGeneratorAction.cc.

References fGunMessenger, and fParticleGun.

Member Function Documentation

void F04PrimaryGeneratorAction::SetRndmFlag ( G4String  val)
inline

Definition at line 58 of file F04PrimaryGeneratorAction.hh.

References fRndmFlag.

Referenced by F04PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F04PrimaryGeneratorAction::SetXvertex ( G4double  x)

Definition at line 152 of file F04PrimaryGeneratorAction.cc.

References fVertexdefined, fXvertex, G4cout, G4endl, mm, and x.

Referenced by F04PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F04PrimaryGeneratorAction::SetYvertex ( G4double  y)

Definition at line 162 of file F04PrimaryGeneratorAction.cc.

References fVertexdefined, fYvertex, G4cout, G4endl, and mm.

Referenced by F04PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F04PrimaryGeneratorAction::SetZvertex ( G4double  z)

Definition at line 172 of file F04PrimaryGeneratorAction.cc.

References fVertexdefined, fZvertex, G4cout, G4endl, mm, and z.

Referenced by F04PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

F04DetectorConstruction* F04PrimaryGeneratorAction::fDetector
private

Definition at line 66 of file F04PrimaryGeneratorAction.hh.

Referenced by F04PrimaryGeneratorAction(), and GeneratePrimaries().

G4bool F04PrimaryGeneratorAction::fFirst
private

Definition at line 74 of file F04PrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries().

G4AffineTransform F04PrimaryGeneratorAction::fGlobal2local
private

Definition at line 76 of file F04PrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries().

F04PrimaryGeneratorMessenger* F04PrimaryGeneratorAction::fGunMessenger
private
G4ParticleGun* F04PrimaryGeneratorAction::fParticleGun
private
G4String F04PrimaryGeneratorAction::fRndmFlag
private

Definition at line 72 of file F04PrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), and SetRndmFlag().

G4bool F04PrimaryGeneratorAction::fVertexdefined
private

Definition at line 80 of file F04PrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), SetXvertex(), SetYvertex(), and SetZvertex().

G4double F04PrimaryGeneratorAction::fXvertex
private
G4double F04PrimaryGeneratorAction::fYvertex
private
G4double F04PrimaryGeneratorAction::fZvertex
private

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