4 #include "G4UIdirectory.hh"
6 #include "G4UIcmdWithAString.hh"
7 #include "G4UIcmdWithAnInteger.hh"
11 WCSimDir =
new G4UIdirectory(
"/WCSim/random/");
12 WCSimDir->SetGuidance(
"Commands to set the random number generator parameters");
14 Rangen =
new G4UIcmdWithAString(
"/WCSim/random/generator",
this);
15 Rangen->SetGuidance(
"Sets the random number generator. Possible values are: RANLUX, RANECU, and HEPJAMES (the G4 default)");
16 Rangen->SetParameterName(
"generator",
true);
17 Rangen->SetDefaultValue(
"HEPJAMES");
19 Ranseed =
new G4UIcmdWithAnInteger(
"/WCSim/random/seed",
this);
20 Ranseed->SetGuidance(
"Sets the random number seed (integer)");
21 Ranseed->SetParameterName(
"Ranseed",
true);
22 Ranseed->SetDefaultValue(31415);
void SetGenerator(WCSimRandomGenerator_t rng)
WCSimRandomParameters * WCSimRandomParams
WCSimRandomMessenger(WCSimRandomParameters *)
G4UIcmdWithAString * Rangen
void SetNewValue(G4UIcommand *command, G4String newValue)
G4UIcmdWithAnInteger * Ranseed