37 lines
798 B
C++
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
|