G4-DESCSS/include/G4HumanPhantomMessenger.h
2022-05-18 22:28:11 +08:00

37 lines
798 B
C++

#ifndef DESCSS_HumanPhantomMessenger_h
#define DESCSS_HumanPhantomMessenger_h 1
class DetectorConstruction;
class PrimaryGeneratorAction;
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;
G4UIdirectory* particleTypeDir;
G4UIcmdWithAString* modelCmd;
G4UIcmdWithAString* sexCmd;
G4UIcmdWithoutParameter* endCmd;
G4UIcmdWithAString* typeCmd;
};
#endif