2022-05-18 20:01:10 +08:00
|
|
|
#ifndef DESCSS_HumanPhantomMessenger_h
|
|
|
|
#define DESCSS_HumanPhantomMessenger_h 1
|
2022-05-17 21:14:44 +08:00
|
|
|
|
|
|
|
class DetectorConstruction;
|
|
|
|
|
|
|
|
class G4UIcommand;
|
|
|
|
class G4UIdirectory;
|
|
|
|
class G4UIcmdWithAString;
|
|
|
|
class G4UIcmdWithoutParameter;
|
|
|
|
|
|
|
|
#include "G4UImessenger.hh"
|
|
|
|
#include "globals.hh"
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
class G4HumanPhantomMessenger : public G4UImessenger {
|
|
|
|
public:
|
|
|
|
G4HumanPhantomMessenger(DetectorConstruction* myUsrPhtm);
|
|
|
|
~G4HumanPhantomMessenger();
|
|
|
|
|
|
|
|
void SetNewValue(G4UIcommand* command, G4String newValue);
|
|
|
|
|
|
|
|
private:
|
|
|
|
DetectorConstruction* myUserPhantom;
|
|
|
|
|
|
|
|
G4UIdirectory* phantomDir;
|
|
|
|
|
|
|
|
G4UIcmdWithAString* modelCmd;
|
|
|
|
G4UIcmdWithAString* sexCmd;
|
|
|
|
G4UIcmdWithoutParameter* endCmd;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|