#ifndef PhantomMessenger_hh #define PhantomMessenger_hh 1 #include "globals.hh" #include "G4UImessenger.hh" #include "G4UIdirectory.hh" #include "G4UIcmdWithAString.hh" #include "G4UIcmdWithADoubleAndUnit.hh" #include "G4UIcmdWith3VectorAndUnit.hh" #include "G4UIcmdWithABool.hh" class Phantom; class PhantomMessenger: public G4UImessenger { public: PhantomMessenger(Phantom*); ~PhantomMessenger(); void SetNewValue(G4UIcommand*, G4String); private: Phantom* phantom; G4UIdirectory* phantomDir; G4UIcmdWithAString* phantomNameCmd; G4UIcmdWithAString* phantomMaterialCmd; G4UIcmdWithABool * phantomConstructCmd; G4UIcmdWith3VectorAndUnit* phantomPositionCmd; G4UIcmdWithADoubleAndUnit* phantomRotXCmd; G4UIcmdWithADoubleAndUnit* phantomRotYCmd; G4UIcmdWithADoubleAndUnit* phantomRotZCmd; G4UIcmdWithABool *compensatorConstructCmd; G4UIcmdWith3VectorAndUnit *compensatorPositionCmd; G4UIcmdWithADoubleAndUnit* phantomSphereRadiusCmd; G4UIcmdWithADoubleAndUnit* phantomSphereInsert1RCmd; G4UIcmdWithADoubleAndUnit* phantomSphereInsert1LengthCmd; G4UIcmdWithAString* phantomSphereInsert1MaterialCmd; G4UIcmdWithADoubleAndUnit* phantomSphereInsert2RCmd; G4UIcmdWithADoubleAndUnit* phantomSphereInsert2LengthCmd; G4UIcmdWithAString* phantomSphereInsert2MaterialCmd; G4UIcmdWithADoubleAndUnit* phantomSphereInsert3RCmd; G4UIcmdWithADoubleAndUnit* phantomSphereInsert3LengthCmd; G4UIcmdWithAString* phantomSphereInsert3MaterialCmd; G4UIcmdWithADoubleAndUnit* phantomEllipsoidSemiXCmd; G4UIcmdWithADoubleAndUnit* phantomEllipsoidSemiYCmd; G4UIcmdWithADoubleAndUnit* phantomEllipsoidSemiZCmd; G4UIcmdWithADoubleAndUnit* phantomPacmanRadiusCmd; G4UIcmdWithADoubleAndUnit* phantomPacmanHalfZCmd; G4UIcmdWithADoubleAndUnit* phantomPacmanSpanningAngleCmd; G4UIcmdWith3VectorAndUnit* phantomRectangleSizeCmd; }; #endif