38#include "G4UIcmdWithAnInteger.hh"
39#include "G4UIcmdWithADoubleAndUnit.hh"
40#include "G4UIcmdWith3VectorAndUnit.hh"
41#include "G4UIcmdWithoutParameter.hh"
46 : fElFieldSetup(fieldSetup)
49 fFieldDir->SetGuidance(
"F02 field tracking control.");
52 fStepperCmd->SetGuidance(
"Select stepper type for electric field");
55 fStepperCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
58 fUpdateCmd->SetGuidance(
"Update calorimeter geometry.");
59 fUpdateCmd->SetGuidance(
"This command MUST be applied before \"beamOn\" ");
60 fUpdateCmd->SetGuidance(
"if you changed geometrical value(s).");
64 fElFieldZCmd->SetGuidance(
"Define uniform Electric field.");
65 fElFieldZCmd->SetGuidance(
"Electric field will be in Z direction.");
66 fElFieldZCmd->SetGuidance(
"Value of Electric field has to be given in volt/m");
72 fElFieldCmd->SetGuidance(
"Define uniform Electric field.");
73 fElFieldCmd->SetGuidance(
"Value of Electric field has to be given in volt/m");
74 fElFieldCmd->SetParameterName(
"Ex",
"Ey",
"Ez",
false,
false);
80 fMinStepCmd->SetParameterName(
"min step",
false,
false);
Definition of the F02ElectricFieldSetup class.
Definition of the F02FieldMessenger class.
A class for control of the Electric Field of the detector.
void SetStepperType(G4int i)
void SetFieldValue(G4ThreeVector fieldVector)
void SetMinStep(G4double s)
void SetFieldZValue(G4double fieldValue)
G4UIcmdWithoutParameter * fUpdateCmd
G4UIcmdWithADoubleAndUnit * fElFieldZCmd
void SetNewValue(G4UIcommand *, G4String) override
G4UIcmdWithADoubleAndUnit * fMinStepCmd
G4UIcmdWith3VectorAndUnit * fElFieldCmd
F02ElectricFieldSetup * fElFieldSetup
F02FieldMessenger(F02ElectricFieldSetup *)
G4UIdirectory * fFieldDir
~F02FieldMessenger() override
G4UIcmdWithAnInteger * fStepperCmd