46 fGunDir->
SetGuidance(
"WLSPrimaryGenerator control");
50 fSetPolarizationCmd->
SetGuidance(
"Set linear polarization");
51 fSetPolarizationCmd->
SetGuidance(
" angle w.r.t. (k,n) plane");
57 fSetDecayTimeConstantCmd =
59 fSetDecayTimeConstantCmd->
SetGuidance(
"Set the decay time constant");
60 fSetDecayTimeConstantCmd->
SetGuidance(
"for the starting time of each photon");
63 fSetDecayTimeConstantCmd->
SetRange(
"time_const>=0");
72 delete fSetPolarizationCmd;
73 delete fSetDecayTimeConstantCmd;
81 if ( command == fSetPolarizationCmd )
84 else if ( command == fSetDecayTimeConstantCmd )
void SetDefaultValue(G4double defVal)
Definition of the WLSPrimaryGeneratorAction class.
Definition of the WLSPrimaryGeneratorMessenger class.
void SetUnitCategory(const char *unitCategory)
WLSPrimaryGeneratorMessenger(WLSPrimaryGeneratorAction *)
static G4double GetNewDoubleValue(const char *paramString)
virtual void SetNewValue(G4UIcommand *, G4String)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
virtual ~WLSPrimaryGeneratorMessenger()