2023-02-13 14:50:36 +08:00
|
|
|
#ifndef GenePrimaryGeneratorActionMessenger_h
|
|
|
|
#define GenePrimaryGeneratorActionMessenger_h 1
|
|
|
|
|
2023-04-09 22:12:47 +08:00
|
|
|
#include <G4UImessenger.hh>
|
|
|
|
#include <globals.hh>
|
2023-02-13 14:50:36 +08:00
|
|
|
|
|
|
|
class GenePrimaryGeneratorAction;
|
|
|
|
class G4UIdirectory;
|
|
|
|
class G4UIcmdWithADoubleAndUnit;
|
|
|
|
class G4UIcmdWithAString;
|
|
|
|
|
|
|
|
class GenePrimaryGeneratorActionMessenger : public G4UImessenger {
|
|
|
|
public:
|
|
|
|
GenePrimaryGeneratorActionMessenger(GenePrimaryGeneratorAction*);
|
|
|
|
virtual ~GenePrimaryGeneratorActionMessenger();
|
|
|
|
|
|
|
|
virtual void SetNewValue(G4UIcommand*, G4String);
|
|
|
|
|
|
|
|
private:
|
|
|
|
GenePrimaryGeneratorAction* pPrimaryGeneratorAction;
|
|
|
|
|
|
|
|
G4UIdirectory* PrimaryDir;
|
|
|
|
G4UIcmdWithADoubleAndUnit* BeamEnergyCmd;
|
|
|
|
G4UIcmdWithAString* AngularCmd;
|
|
|
|
G4UIcmdWithAString* ReactionCmd;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|