PlasmaMLPALLAS
Loading...
Searching...
No Matches
PlasmaMLPALLASGeometryMessenger.hh
Go to the documentation of this file.
1#ifndef PlasmaMLPALLASGeometryMessenger_H
2#define PlasmaMLPALLASGeometryMessenger_H
3
15#include "G4UIcmdWithADoubleAndUnit.hh" // for G4UIcmdWithADoubleAndUnit
16#include "G4UIcmdWithAnInteger.hh" // for G4UIcmdWithAnInteger
17#include "G4UIcmdWithoutParameter.hh" // for G4UIcmdWithoutParameter
18#include "G4UIdirectory.hh" // for G4UIdirectory
19#include "PlasmaMLPALLASGeometryConstruction.hh" // for PlasmaMLPALLASGeometryConstruction
20
21class G4UIcmdWithADoubleAndUnit;
22class G4UIcmdWithAnInteger;
23class G4UIcmdWithoutParameter;
24class G4UIdirectory;
26
27class PlasmaMLPALLASGeometryMessenger : public G4UImessenger
28{
29public:
32
34 virtual void SetNewValue(G4UIcommand *, G4String) final;
36 virtual G4String GetCurrentValue(G4UIcommand *) final;
37
38private:
40 PlasmaMLPALLASGeometryConstruction *fGeometry = nullptr;
43 G4UIdirectory *fExampleDir = nullptr;
45 G4UIdirectory *fDisplayDir = nullptr;
47 G4UIdirectory *fGeometryDir = nullptr;
49 G4UIdirectory *fFieldDir = nullptr;
51 G4UIcmdWithoutParameter *fPrintCmd;
52
55 G4UIcmdWithAnInteger *fGeometryStatusDisplayCmd = nullptr;
57 G4UIcmdWithAnInteger *fGeometryStatusDisplayQuadrupolesCmd = nullptr;
59 G4UIcmdWithAnInteger *fGeometryStatusDisplayCollimatorsCmd = nullptr;
60
63 G4UIcmdWithADoubleAndUnit *fGeometryQ1LengthCmd = nullptr;
65 G4UIcmdWithADoubleAndUnit *fGeometryQ2LengthCmd = nullptr;
67 G4UIcmdWithADoubleAndUnit *fGeometryQ3LengthCmd = nullptr;
69 G4UIcmdWithADoubleAndUnit *fGeometryQ4LengthCmd = nullptr;
71 G4UIcmdWithADoubleAndUnit *fGeometrySourceQ1DistanceCmd = nullptr;
73 G4UIcmdWithADoubleAndUnit *fGeometryQ1Q2DistanceCmd = nullptr;
75 G4UIcmdWithADoubleAndUnit *fGeometryQ2Q3DistanceCmd = nullptr;
77 G4UIcmdWithADoubleAndUnit *fGeometryQ3Q4DistanceCmd = nullptr;
79 G4UIcmdWithADoubleAndUnit *fGeometrySourceCollimatorsDistanceCmd = nullptr;
80
83 G4UIcmdWithADoubleAndUnit *fFieldQ1GradientCmd = nullptr;
85 G4UIcmdWithADoubleAndUnit *fFieldQ2GradientCmd = nullptr;
87 G4UIcmdWithADoubleAndUnit *fFieldQ3GradientCmd = nullptr;
89 G4UIcmdWithADoubleAndUnit *fFieldQ4GradientCmd = nullptr;
91 G4UIcmdWithAnInteger *fFieldStatusMapBFieldCmd = nullptr;
93 G4UIcmdWithADoubleAndUnit *fFieldConstantDipoleBFieldCmd = nullptr;
94
95};
96
97#endif
Defines the detector geometry and magnetic fields for the PALLAS simulation.
Definition PlasmaMLPALLASGeometryConstruction.hh:41
UI messenger for the Geometry constrcution in PALLAS simulation.
Definition PlasmaMLPALLASGeometryMessenger.hh:28
~PlasmaMLPALLASGeometryMessenger()
Destructor.
Definition PlasmaMLPALLASGeometryMessenger.cc:328
virtual void SetNewValue(G4UIcommand *, G4String) final
Invokes appropriate methods based on the typed command.
Definition PlasmaMLPALLASGeometryMessenger.cc:361
virtual G4String GetCurrentValue(G4UIcommand *) final
Retrieves the current settings.
Definition PlasmaMLPALLASGeometryMessenger.cc:451