31#include "G4UIcmdWithAString.hh"
32#include "G4UIcmdWithADoubleAndUnit.hh"
33#include "G4SystemOfUnits.hh"
45 fRndmCmd->SetGuidance(
"Shoot randomly the incident particle.");
46 fRndmCmd->SetGuidance(
" Choice : on, off(default)");
47 fRndmCmd->SetParameterName(
"choice",
true);
50 fRndmCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
53 fSetXvertexCmd->SetGuidance(
" Set x coord. of the primary vertex.");
59 fSetYvertexCmd->SetGuidance(
" Set y coord. of the primary vertex.");
65 fSetZvertexCmd->SetGuidance(
" Set z coord. of the primary vertex.");
Definition of the F04PrimaryGeneratorAction class.
Definition of the F04PrimaryGeneratorMessenger class.
void SetRndmFlag(G4String val)
void SetXvertex(G4double x)
void SetZvertex(G4double z)
void SetYvertex(G4double y)
F04PrimaryGeneratorMessenger(F04PrimaryGeneratorAction *)
G4UIcmdWithADoubleAndUnit * fSetYvertexCmd
~F04PrimaryGeneratorMessenger() override
F04PrimaryGeneratorAction * fAction
G4UIcmdWithAString * fRndmCmd
G4UIcmdWithADoubleAndUnit * fSetXvertexCmd
void SetNewValue(G4UIcommand *, G4String) override
G4UIcmdWithADoubleAndUnit * fSetZvertexCmd