61 FlagCmd->
SetGuidance(
"Defines if GFlash is activated");
65 ContCmd->
SetGuidance(
"Defines if Containment is checked");
73 EminCmd->
SetGuidance(
"Set minimum kinetic energy to trigger parametrisation");
80 EmaxCmd->
SetGuidance(
"Set maximum kinetic energy to trigger parametrisation");
87 EkillCmd->
SetGuidance(
"Set maximum kinetic energy for electrons to be killed");
110 if( command == FlagCmd ) {
114 if( command == ContCmd ) {
118 if( command == StepInX0Cmd ) {
123 else if( command == EminCmd ) {
129 else if( command == EmaxCmd ) {
135 else if( command == EkillCmd ) {
147 std::ostringstream os;
149 if( command == FlagCmd ) {
154 else if( command == EkillCmd ) {
155 os <<
"/GFlash/Ekill "
161 else if( command == EminCmd ) {
162 os <<
"/GFlash/Emin "
168 else if( command == EmaxCmd ) {
169 os <<
"/GFlash/Emax "
G4String GetCurrentValue(G4UIcommand *command)
static G4Electron * ElectronDefinition()
void SetEneToKill(G4ParticleDefinition &particleType, G4double enekill)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
~GFlashShowerModelMessenger()
GFlashParticleBounds * PBound
void SetNewValue(G4UIcommand *command, G4String newValues)
void SetUnitCategory(const char *unitCategory)
static G4double GetNewDoubleValue(const char *paramString)
void SetFlagParamType(G4int I)
G4double GetMaxEneToParametrise(G4ParticleDefinition &particleType)
GFlashShowerModelMessenger(GFlashShowerModel *myModel)
G4double GetMinEneToParametrise(G4ParticleDefinition &particleType)
static G4double GetNewDoubleValue(const char *paramString)
void SetGuidance(const char *aGuidance)
void SetMinEneToParametrise(G4ParticleDefinition &particleType, G4double enemin)
void AvailableForStates(G4ApplicationState s1)
G4double GetEneToKill(G4ParticleDefinition &particleType)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultUnit(const char *defUnit)
void SetFlagParticleContainment(G4int I)
static constexpr double GeV
void SetMaxEneToParametrise(G4ParticleDefinition &particleType, G4double enemax)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetStepInX0(G4double Lenght)