G4-DESCSS/include/G4HumanPhantomMessenger.h

36 lines
768 B
C
Raw Normal View History

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;
2022-05-18 22:28:11 +08:00
G4UIdirectory* particleTypeDir;
2022-05-17 21:14:44 +08:00
G4UIcmdWithAString* modelCmd;
G4UIcmdWithAString* sexCmd;
G4UIcmdWithoutParameter* endCmd;
2022-05-18 22:28:11 +08:00
G4UIcmdWithAString* typeCmd;
2022-05-17 21:14:44 +08:00
};
#endif