Import Geant4 10.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2018-12-07 15:15:39 +01:00
parent 6aa23be517
commit db49709b53
11370 changed files with 187480 additions and 160142 deletions
@@ -25,7 +25,7 @@
//
//
// Code developed by:
// S.Guatelli
// S.Guatelli, A. Le
//
// *********************************
// * *
@@ -34,7 +34,6 @@
// *********************************
//
//
// $Id: BrachyDetectorMessenger.cc 100821 2016-11-02 15:21:34Z gcosmo $
//
//
@@ -58,7 +57,7 @@ BrachyDetectorMessenger::BrachyDetectorMessenger( BrachyDetectorConstruction* De
sourceCmd -> SetGuidance("Assign the selected geometry to G4RunManager.");
sourceCmd -> SetParameterName("choice",true);
sourceCmd -> SetDefaultValue(" ");
sourceCmd -> SetCandidates("TG186 Flexi Iodine Leipzig");
sourceCmd -> SetCandidates("TG186 Flexi Iodine Leipzig Oncura");
sourceCmd -> AvailableForStates(G4State_PreInit,G4State_Idle);
}
@@ -78,7 +77,7 @@ void BrachyDetectorMessenger::SetNewValue(G4UIcommand* command,G4String newValue
// Switch the source in the phantom
if( command == sourceCmd )
{
if(newValue=="Iodine" || newValue=="TG186"|| newValue=="Leipzig" || newValue== "Flexi")
if(newValue=="Iodine" || newValue=="TG186"|| newValue=="Leipzig" || newValue== "Flexi" || newValue== "Oncura")
{
detector -> SelectBrachytherapicSeed(newValue);
detector -> SwitchBrachytherapicSeed();