33 #include "PrimaryGeneratorMessenger.hh"
35 #include "PrimaryGeneratorAction.hh"
76 if (angle == -360.0*
deg) {
void SetGuidance(const char *aGuidance)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4UIcmdWithADoubleAndUnit * fPolarCmd
static G4double GetNewDoubleValue(const char *paramString)
static constexpr double deg
void SetUnitCategory(const char *unitCategory)
PrimaryGeneratorAction * fPrimaryAction
The primary generator action class with particle gun.
PrimaryGeneratorMessenger(PrimaryGeneratorAction *)
void SetNewValue(G4UIcommand *, G4String)
void SetDefaultValue(G4double defVal)
void AvailableForStates(G4ApplicationState s1)
void SetDefaultUnit(const char *defUnit)
~PrimaryGeneratorMessenger()