Geant4  10.02
GammaRayTelPrimaryGeneratorAction Class Reference

#include <GammaRayTelPrimaryGeneratorAction.hh>

+ Inheritance diagram for GammaRayTelPrimaryGeneratorAction:
+ Collaboration diagram for GammaRayTelPrimaryGeneratorAction:

Public Member Functions

 GammaRayTelPrimaryGeneratorAction ()
 
 ~GammaRayTelPrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *)
 
void SetRndmFlag (G4String val)
 
void SetSourceType (G4int val)
 
void SetSpectrumType (G4int val)
 
void SetVertexRadius (G4double val)
 
void SetSourceGen (G4bool val)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

G4ParticleGunparticleGun
 
G4GeneralParticleSourceparticleSource
 
const
GammaRayTelDetectorConstruction
GammaRayTelDetector
 
GammaRayTelPrimaryGeneratorMessengergunMessenger
 
G4String rndmFlag
 
G4int nSourceType
 
G4double dVertexRadius
 
G4int nSpectrumType
 
G4bool sourceGun
 

Detailed Description

Definition at line 58 of file GammaRayTelPrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

GammaRayTelPrimaryGeneratorAction::~GammaRayTelPrimaryGeneratorAction ( )

Definition at line 88 of file GammaRayTelPrimaryGeneratorAction.cc.

References gunMessenger, particleGun, and particleSource.

Member Function Documentation

void GammaRayTelPrimaryGeneratorAction::SetRndmFlag ( G4String  val)
inline

Definition at line 67 of file GammaRayTelPrimaryGeneratorAction.hh.

References rndmFlag.

Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void GammaRayTelPrimaryGeneratorAction::SetSourceGen ( G4bool  val)
inline

Definition at line 71 of file GammaRayTelPrimaryGeneratorAction.hh.

References sourceGun.

Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void GammaRayTelPrimaryGeneratorAction::SetSourceType ( G4int  val)
inline

Definition at line 68 of file GammaRayTelPrimaryGeneratorAction.hh.

References nSourceType.

Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void GammaRayTelPrimaryGeneratorAction::SetSpectrumType ( G4int  val)
inline

Definition at line 69 of file GammaRayTelPrimaryGeneratorAction.hh.

References nSpectrumType.

Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void GammaRayTelPrimaryGeneratorAction::SetVertexRadius ( G4double  val)
inline

Definition at line 70 of file GammaRayTelPrimaryGeneratorAction.hh.

References dVertexRadius.

Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4double GammaRayTelPrimaryGeneratorAction::dVertexRadius
private

Definition at line 80 of file GammaRayTelPrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), and SetVertexRadius().

const GammaRayTelDetectorConstruction* GammaRayTelPrimaryGeneratorAction::GammaRayTelDetector
private
GammaRayTelPrimaryGeneratorMessenger* GammaRayTelPrimaryGeneratorAction::gunMessenger
private
G4int GammaRayTelPrimaryGeneratorAction::nSourceType
private

Definition at line 79 of file GammaRayTelPrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), and SetSourceType().

G4int GammaRayTelPrimaryGeneratorAction::nSpectrumType
private

Definition at line 81 of file GammaRayTelPrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), and SetSpectrumType().

G4ParticleGun* GammaRayTelPrimaryGeneratorAction::particleGun
private
G4GeneralParticleSource* GammaRayTelPrimaryGeneratorAction::particleSource
private
G4String GammaRayTelPrimaryGeneratorAction::rndmFlag
private

Definition at line 78 of file GammaRayTelPrimaryGeneratorAction.hh.

Referenced by SetRndmFlag().

G4bool GammaRayTelPrimaryGeneratorAction::sourceGun
private

Definition at line 82 of file GammaRayTelPrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), and SetSourceGen().


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