29 lines
742 B
C++
29 lines
742 B
C++
#ifndef GenePrimaryGeneratorActionMessenger_h
|
|
#define GenePrimaryGeneratorActionMessenger_h 1
|
|
|
|
#include "G4UImessenger.hh"
|
|
#include "globals.hh"
|
|
|
|
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
|