PlasmaMLPALLAS
Loading...
Searching...
No Matches
PlasmaMLPALLASPrimaryGeneratorMessenger.hh
Go to the documentation of this file.
1#ifndef PlasmaMLPALLASPrimaryGeneratorMessenger_H
2#define PlasmaMLPALLASPrimaryGeneratorMessenger_H
3
16#include "G4UIcmdWithAString.hh" // for G4UIcmdWithAString
17#include "G4UIcmdWithADouble.hh" // for G4UIcmdWithADouble
18#include "G4UIcmdWithAnInteger.hh" // for G4UIcmdWithAnInteger
19#include "G4UIdirectory.hh" // for G4UIdirectory
21#include "G4UImessenger.hh"
22
23
24class G4UIcmdWithADouble;
25class G4UIcmdWithAnInteger;
26class G4UIcmdWithAString;
27class G4UIdirectory;
28
30
31class PlasmaMLPALLASPrimaryGeneratorMessenger : public G4UImessenger
32{
33public:
41
44
52 virtual void SetNewValue(G4UIcommand *command, G4String newValue) final;
53
59 virtual G4String GetCurrentValue(G4UIcommand *command) final;
60
61private:
63 PlasmaMLPALLASPrimaryGeneratorAction *fPrimaryGeneratorAction = nullptr;
64
66 G4UIdirectory *fExampleDir = nullptr;
67 G4UIdirectory *fGunDir = nullptr;
68 G4UIdirectory *fLaserDir = nullptr;
69
70 // Gun-related commands
71 G4UIcmdWithAnInteger *fGunStatusONNXCmd = nullptr;
72 G4UIcmdWithAString *fGunParticleNameCmd = nullptr;
73
74 // Laser-related commands
75 G4UIcmdWithADouble *fLaserOffsetCmd = nullptr;
76 G4UIcmdWithADouble *fLaserNormVecPotentialCmd = nullptr;
77 G4UIcmdWithADouble *fLaserFracDopTargetChamberCmd = nullptr;
78 G4UIcmdWithADouble *fLaserPressureCmd = nullptr;
79};
80
81#endif
Defines the primary generator action for the simulation.
Definition PlasmaMLPALLASPrimaryGeneratorAction.hh:29
Provides UI commands to configure the primary generator.
Definition PlasmaMLPALLASPrimaryGeneratorMessenger.hh:32
~PlasmaMLPALLASPrimaryGeneratorMessenger()
Destructor.
Definition PlasmaMLPALLASPrimaryGeneratorMessenger.cc:142
virtual void SetNewValue(G4UIcommand *command, G4String newValue) final
Executes a command with a new value.
Definition PlasmaMLPALLASPrimaryGeneratorMessenger.cc:163
virtual G4String GetCurrentValue(G4UIcommand *command) final
Retrieves the current value of a command.
Definition PlasmaMLPALLASPrimaryGeneratorMessenger.cc:190