#include <RMC01AnalysisManagerMessenger.hh>
◆ RMC01AnalysisManagerMessenger()
RMC01AnalysisManagerMessenger::RMC01AnalysisManagerMessenger |
( |
RMC01AnalysisManager * |
analysisManager | ) |
|
Definition at line 49 of file RMC01AnalysisManagerMessenger.cc.
63 fluence_par->
SetGuidance(
"Omnidirectional fluence for primary spectrum");
86 new G4UIcommand(
"/RMC01/analysis/SetPowerLawPrimSpectrumForAdjointSim",
this);
88 ->
SetGuidance(
"Set the primary spectrum to which adjoint simulation " 89 "results will be normalised as a power law (Ekin^-alpha).");
102 "SetExponentialSpectrumForAdjointSim",
this);
104 ->
SetGuidance(
"Set the primary spectrum to which adjoint simulation results" 105 "will be normalised as exponential (exp(-Ekin/E0)).");
125 "SetExpectedPrecisionOfResults",
this);
127 ->
SetGuidance(
"Set the precision in % that the computed energy deposited " 128 "in the sensitive volume should reached. If this precision is reached" 129 " before the end of the run, the run is aborted and the results are " void SetParameter(G4UIparameter *const newParameter)
G4UIcommand * fSetPowerLawSpectrumToNormaliseAdjResCmd
G4UIdirectory * fAnalysisDir
void SetParameterRange(const char *theRange)
void SetParameterCandidates(const char *theString)
RMC01AnalysisManager * fAnalysisManager
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4UIcommand * fSetExpSpectrumToNormaliseAdjResCmd
G4UIcmdWithADouble * fSetPrecisionForConvergenceTestCmd
void SetGuidance(const char *theGuidance)
◆ ~RMC01AnalysisManagerMessenger()
RMC01AnalysisManagerMessenger::~RMC01AnalysisManagerMessenger |
( |
| ) |
|
|
virtual |
◆ SetNewValue()
Reimplemented from G4UImessenger.
Definition at line 145 of file RMC01AnalysisManagerMessenger.cc.
151 const char* nv = (
const char*)newValue;
152 std::istringstream is(nv);
153 is >> part_name>>fluence>>f_unit>>alpha>>e1>>e2>>e_unit;
156 if (f_unit ==
"1/m2" || f_unit ==
"m-2") factor_f_unit=1/
m2;
157 fluence*=factor_f_unit;
161 part_name, fluence, alpha, e1, e2);
166 const char* nv = (
const char*)newValue;
167 std::istringstream is(nv);
168 is >> part_name>>fluence>>f_unit>>e0>>e1>>e2>>e_unit;
171 if (f_unit ==
"1/m2" || f_unit ==
"m-2") factor_f_unit=1/
m2;
173 fluence*=factor_f_unit;
179 fluence, e0, e1, e2);
void SetPrimaryPowerLawSpectrumForAdjointSim(const G4String &particle_name, G4double fluence, G4double alpha, G4double Emin, G4double Emax)
G4UIcommand * fSetPowerLawSpectrumToNormaliseAdjResCmd
void SetPrimaryExpSpectrumForAdjointSim(const G4String &particle_name, G4double fluence, G4double E0, G4double Emin, G4double Emax)
RMC01AnalysisManager * fAnalysisManager
static G4double GetValueOf(const G4String &)
void SetPrecision(G4double precision)
static G4double GetNewDoubleValue(const char *paramString)
G4UIcommand * fSetExpSpectrumToNormaliseAdjResCmd
G4UIcmdWithADouble * fSetPrecisionForConvergenceTestCmd
static const G4double alpha
◆ fAnalysisDir
◆ fAnalysisManager
◆ fSetExpSpectrumToNormaliseAdjResCmd
G4UIcommand* RMC01AnalysisManagerMessenger::fSetExpSpectrumToNormaliseAdjResCmd |
|
private |
◆ fSetPowerLawSpectrumToNormaliseAdjResCmd
G4UIcommand* RMC01AnalysisManagerMessenger::fSetPowerLawSpectrumToNormaliseAdjResCmd |
|
private |
◆ fSetPrecisionForConvergenceTestCmd
The documentation for this class was generated from the following files: