Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <GarfieldPrimaryGeneratorAction.hh>
Public Member Functions | |
GarfieldPrimaryGeneratorAction () | |
virtual | ~GarfieldPrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *event) |
void | SetRandomFlag (G4bool value) |
The primary generator action class with particle gum.
It defines a single particle which hits the calorimeter perpendicular to the input face. The type of the particle can be changed via the G4 build-in commands of G4ParticleGun class (see the macros provided with this example).
Definition at line 48 of file GarfieldPrimaryGeneratorAction.hh.
GarfieldPrimaryGeneratorAction::GarfieldPrimaryGeneratorAction | ( | ) |
Definition at line 46 of file GarfieldPrimaryGeneratorAction.cc.
|
virtual |
Definition at line 64 of file GarfieldPrimaryGeneratorAction.cc.
|
virtual |
Definition at line 70 of file GarfieldPrimaryGeneratorAction.cc.
void GarfieldPrimaryGeneratorAction::SetRandomFlag | ( | G4bool | value | ) |