Import Geant4 11.0.2 source tree
This commit is contained in:
@@ -42,23 +42,23 @@ namespace B2a
|
||||
DetectorMessenger::DetectorMessenger(DetectorConstruction* det)
|
||||
: fDetectorConstruction(det)
|
||||
{
|
||||
fDirectory = new G4UIdirectory("//");
|
||||
fDirectory = new G4UIdirectory("/B2/");
|
||||
fDirectory->SetGuidance("UI commands specific to this example.");
|
||||
|
||||
fDetDirectory = new G4UIdirectory("//det/");
|
||||
fDetDirectory = new G4UIdirectory("/B2/det/");
|
||||
fDetDirectory->SetGuidance("Detector construction control");
|
||||
|
||||
fTargMatCmd = new G4UIcmdWithAString("//det/setTargetMaterial",this);
|
||||
fTargMatCmd = new G4UIcmdWithAString("/B2/det/setTargetMaterial",this);
|
||||
fTargMatCmd->SetGuidance("Select Material of the Target.");
|
||||
fTargMatCmd->SetParameterName("choice",false);
|
||||
fTargMatCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
|
||||
|
||||
fChamMatCmd = new G4UIcmdWithAString("//det/setChamberMaterial",this);
|
||||
fChamMatCmd = new G4UIcmdWithAString("/B2/det/setChamberMaterial",this);
|
||||
fChamMatCmd->SetGuidance("Select Material of the Chamber.");
|
||||
fChamMatCmd->SetParameterName("choice",false);
|
||||
fChamMatCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
|
||||
|
||||
fStepMaxCmd = new G4UIcmdWithADoubleAndUnit("//det/stepMax",this);
|
||||
fStepMaxCmd = new G4UIcmdWithADoubleAndUnit("/B2/det/stepMax",this);
|
||||
fStepMaxCmd->SetGuidance("Define a step max");
|
||||
fStepMaxCmd->SetParameterName("stepMax",false);
|
||||
fStepMaxCmd->SetUnitCategory("Length");
|
||||
|
||||
Reference in New Issue
Block a user