59 fPhysicsList(pPhysicsList),
61 fUsepIonisationCmd(0),
66 fUseGammaConversionCmd(0),
67 fUseEgainFluctuationCmd(0),
68 fSetEminAdjModelsCmd(0),
69 fSetEmaxAdjModelsCmd(0)
74 "Definition of adjoint and forward physics processes");
77 "/adjoint_physics/UseProtonIonisation",
this);
79 "If true (false) the proton ionisation is (not) considered");
82 fUseBremCmd =
new G4UIcmdWithABool(
"/adjoint_physics/UseBremsstrahlung",
this);
84 "If true (false) the bremsstrahlung process is (not) considered");
89 "If true (false) the Compton scattering is (not) considered");
94 "If true (false) the continuous multiple scattering is (not) considered");
98 "/adjoint_physics/UseEgainElossFluctuation",
this);
100 "Switch on/off the fluctation for continuous energy gain/loss");
103 fUsePEEffectCmd =
new G4UIcmdWithABool(
"/adjoint_physics/UsePEEffect",
this);
106 "If true (false) the photo electric effect is (not) considered");
109 "/adjoint_physics/UseGammaConversion",
this);
112 "If true the fwd gamma pair conversion is considered");
115 "/adjoint_physics/SetEminForAdjointModels",
this);
117 "Set the minimum energy of the adjoint models");
123 "/adjoint_physics/SetEmaxForAdjointModels",
this);
125 "Set the minimum energy of the adjoint models.");
135 delete fUsepIonisationCmd;
137 delete fUseComptonCmd;
139 delete fUsePEEffectCmd;
140 delete fUseGammaConversionCmd;
141 delete fUseEgainFluctuationCmd;
142 delete fSetEminAdjModelsCmd;
143 delete fSetEmaxAdjModelsCmd;
151 if ( command==fUsepIonisationCmd){
156 else if ( command==fUseBremCmd){
159 else if ( command==fUseComptonCmd){
162 else if ( command==fUseMSCmd){
165 else if ( command==fUsePEEffectCmd){
168 else if ( command==fUseGammaConversionCmd){
172 else if ( command==fUseEgainFluctuationCmd){
177 else if ( command== fSetEminAdjModelsCmd){
181 else if ( command== fSetEmaxAdjModelsCmd){
void SetUseGammaConversion(bool aBool)
G4AdjointPhysicsMessenger(G4AdjointPhysicsList *)
virtual ~G4AdjointPhysicsMessenger()
void SetUnitCategory(const char *unitCategory)
void SetEmaxAdjModels(G4double aVal)
static G4double GetNewDoubleValue(const char *paramString)
static G4bool GetNewBoolValue(const char *paramString)
void SetUseProtonIonisation(bool aBool)
void SetGuidance(const char *aGuidance)
void SetEminAdjModels(G4double aVal)
void AvailableForStates(G4ApplicationState s1)
Definition of the G4AdjointPhysicsList class.
void SetUseMS(bool aBool)
void SetUseCompton(bool aBool)
virtual void SetNewValue(G4UIcommand *, G4String)
void SetUsePEEffect(bool aBool)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetUseEgainFluctuation(bool aBool)
Definition of the G4AdjointPhysicsMessenger class.
void SetUseBrem(bool aBool)