Geant4  10.00.p01
XPrimaryGeneratorAction Class Reference

#include <XPrimaryGeneratorAction.hh>

+ Inheritance diagram for XPrimaryGeneratorAction:
+ Collaboration diagram for XPrimaryGeneratorAction:

Public Member Functions

 XPrimaryGeneratorAction ()
 
virtual ~XPrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

G4ParticleGunfParticleGun
 

Detailed Description

Definition at line 42 of file XPrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

XPrimaryGeneratorAction::XPrimaryGeneratorAction ( )

Definition at line 46 of file XPrimaryGeneratorAction.cc.

References eV, G4RandomDirection(), and G4PhononLong::PhononDefinition().

+ Here is the call graph for this function:

XPrimaryGeneratorAction::~XPrimaryGeneratorAction ( )
virtual

Definition at line 61 of file XPrimaryGeneratorAction.cc.

Member Function Documentation

void XPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 69 of file XPrimaryGeneratorAction.cc.

References eV, G4RandomDirection(), G4UniformRand, G4PhononLong::PhononDefinition(), G4PhononTransSlow::PhononDefinition(), and G4PhononTransFast::PhononDefinition().

+ Here is the call graph for this function:

Member Data Documentation

G4ParticleGun* XPrimaryGeneratorAction::fParticleGun
private

Definition at line 52 of file XPrimaryGeneratorAction.hh.


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