The primary generator class with particle gun. More...
#include <Doxymodules_common.h>
Public Member Functions | |
GunPrimaryGeneratorAction (const G4String &particleName="geantino", G4double energy=1.*CLHEP::MeV, G4ThreeVector position=G4ThreeVector(0, 0, 0), G4ThreeVector momentumDirection=G4ThreeVector(0, 0, 1)) | |
~GunPrimaryGeneratorAction () override | |
void | GeneratePrimaries (G4Event *) override |
Private Attributes | |
G4ParticleGun * | fParticleGun = nullptr |
The primary generator class with particle gun.
Definition at line 16 of file Doxymodules_common.h.
Common::GunPrimaryGeneratorAction::GunPrimaryGeneratorAction | ( | const G4String & | particleName = "geantino" , |
G4double | energy = 1.*CLHEP::MeV , |
||
G4ThreeVector | position = G4ThreeVector(0,0,0) , |
||
G4ThreeVector | momentumDirection = G4ThreeVector(0,0,1) |
||
) |
Definition at line 42 of file GunPrimaryGeneratorAction.cc.
|
override |
Definition at line 63 of file GunPrimaryGeneratorAction.cc.
|
override |
Definition at line 70 of file GunPrimaryGeneratorAction.cc.
|
private |
Definition at line 64 of file GunPrimaryGeneratorAction.hh.