38#include "G4UIcmdWithAString.hh"
39#include "G4UIcmdWithADoubleAndUnit.hh"
40#include "G4SystemOfUnits.hh"
49 fRndmCmd->SetGuidance(
"Shoot randomly the incident particle.");
50 fRndmCmd->SetGuidance(
" Choice : on, off(default)");
51 fRndmCmd->SetParameterName(
"choice",
true);
54 fRndmCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
57 fSetXVertexCmd->SetGuidance(
" Set x coord. of the primary vertex.");
63 fSetYVertexCmd->SetGuidance(
" Set y coord. of the primary vertex.");
69 fSetZVertexCmd->SetGuidance(
" Set z coord. of the primary vertex.");
Definition of the F01PrimaryGeneratorAction class.
Definition of the F01PrimaryGeneratorMessenger class.
void SetRndmFlag(G4String val)
void SetYVertex(G4double y)
void SetZVertex(G4double z)
void SetXVertex(G4double x)
G4UIcmdWithADoubleAndUnit * fSetXVertexCmd
~F01PrimaryGeneratorMessenger() override
G4UIcmdWithAString * fRndmCmd
G4UIcmdWithADoubleAndUnit * fSetZVertexCmd
G4UIcmdWithADoubleAndUnit * fSetYVertexCmd
F01PrimaryGeneratorMessenger(F01PrimaryGeneratorAction *)
void SetNewValue(G4UIcommand *, G4String) override
F01PrimaryGeneratorAction * fAction