Geant4_10
|
The primary generator class with particle gun. More...
#include <ExG4PrimaryGeneratorAction01.hh>
Public Member Functions | |
ExG4PrimaryGeneratorAction01 (const G4String &particleName="geantino", G4double energy=1.*CLHEP::MeV, G4ThreeVector position=G4ThreeVector(0, 0, 0), G4ThreeVector momentumDirection=G4ThreeVector(0, 0, 1)) | |
~ExG4PrimaryGeneratorAction01 () | |
virtual void | GeneratePrimaries (G4Event *) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
The primary generator class with particle gun.
Definition at line 48 of file ExG4PrimaryGeneratorAction01.hh.
ExG4PrimaryGeneratorAction01::ExG4PrimaryGeneratorAction01 | ( | const G4String & | particleName = "geantino" , |
G4double | energy = 1.*CLHEP::MeV , |
||
G4ThreeVector | position = G4ThreeVector(0,0,0) , |
||
G4ThreeVector | momentumDirection = G4ThreeVector(0,0,1) |
||
) |
Definition at line 40 of file ExG4PrimaryGeneratorAction01.cc.
ExG4PrimaryGeneratorAction01::~ExG4PrimaryGeneratorAction01 | ( | ) |
Definition at line 63 of file ExG4PrimaryGeneratorAction01.cc.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 70 of file ExG4PrimaryGeneratorAction01.cc.