56 AcceleratorName->
SetGuidance(
"accelerator name to select among those implemented (acc1)");
59 acceleratorMacFileName=
new G4UIcmdWithAString(
"/accelerator/AcceleratorMacFileName",
this);
61 acceleratorMacFileName->
SetGuidance(
"full path and macro file name containing specific setup data for the accelerator chosen");
68 rotationX->
SetGuidance(
"angles of rotation along X [deg]");
73 isoCentre->
SetGuidance(
"distance between the isocentre and the target of the accelerator");
79 bRotate90Y->
SetGuidance(
"to rotate the accelerator of 90 deg around the Y axis (true)");
85 delete AcceleratorName;
87 delete acceleratorMacFileName;
94 if (cmd==AcceleratorName)
97 if (cmd==acceleratorMacFileName)
111 command =
"/run/beamOn 0";
113 command =
"/vis/viewer/flush";
void setRotation90Y(G4bool val)
void setAcceleratorMacFileName(G4String val)
void SetDefaultValue(G4double defVal)
static constexpr double mm
void SetNewValue(G4UIcommand *cmd, G4String newValue)
static G4double GetNewDoubleValue(const char *paramString)
static G4bool GetNewBoolValue(const char *paramString)
void SetDefaultValue(G4bool defVal)
static G4UImanager * GetUIpointer()
void SetGuidance(const char *aGuidance)
void setRotation(G4RotationMatrix *val)
CML2AcceleratorConstructionMessenger(CML2AcceleratorConstruction *acceleratorConstructor)
void addAcceleratorRotationsX(G4double val)
void setIsoCentre(G4double val)
void SetDefaultValue(const char *defVal)
G4RotationMatrix * rotateAccelerator()
void SetDefaultUnit(const char *defUnit)
void setAcceleratorName(G4String val)
~CML2AcceleratorConstructionMessenger(void)
static CML2PrimaryGenerationAction * GetInstance(void)
static CML2PhantomConstruction * GetInstance(void)
static G4double GetNewUnitValue(const char *paramString)
G4int ApplyCommand(const char *aCommand)