2023-04-09 22:30:59 +08:00
|
|
|
#ifndef GenePrimaryGeneratorActionMessenger_hh
|
|
|
|
#define GenePrimaryGeneratorActionMessenger_hh 1
|
2023-02-13 14:50:36 +08:00
|
|
|
|
2023-04-09 22:30:59 +08:00
|
|
|
#include "G4UImessenger.hh"
|
2023-05-08 11:10:33 +08:00
|
|
|
#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;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|