50 theDir->
SetGuidance(
"commands for configuration of physics lists.");
52 theRadDecay =
new G4UIcommand(
"/physics_lists/factory/addRadioactiveDecay",
this);
53 theRadDecay->
SetGuidance(
"Enable radioactive decay.");
56 theOptical =
new G4UIcommand(
"/physics_lists/factory/addOptical",
this);
60 theThermal =
new G4UIcommand(
"/physics_lists/factory/addThermal",
this);
61 theThermal->
SetGuidance(
"Enable special elastic scattering of thermal neutrons (Ekin < 4 eV).");
62 theThermal->
SetGuidance(
"Important note: to be used only with HP-based physics lists!");
65 theNeutrino =
new G4UIcommand(
"/physics_lists/factory/addNeutrino",
this);
66 theNeutrino->
SetGuidance(
"Enable physics processes for neutrino.");
69 theChargeEx =
new G4UIcommand(
"/physics_lists/factory/addChargeExchange",
this);
70 theChargeEx->
SetGuidance(
"Enable charge exchange hadronic processes.");
87 if (aComm == theRadDecay) {
89 }
else if (aComm == theOptical) {
91 }
else if (aComm == theThermal) {
93 }
else if (aComm == theNeutrino) {
95 }
else if(aComm == theChargeEx) {
~G4PhysListFactoryMessenger() override
void SetNewValue(G4UIcommand *aComm, G4String aS) override
G4PhysListFactoryMessenger(G4VModularPhysicsList *pl)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
G4int GetVerboseLevel() const
void RegisterPhysics(G4VPhysicsConstructor *)