50 secondaryCmd -> SetParameterName(
"secondary",
true);
51 secondaryCmd -> SetDefaultValue(
"true");
52 secondaryCmd -> SetGuidance(
"Set if dose/fluence for the secondary particles will be written"
53 "\n[usage]: /analysis/secondary [true/false]");
57 DoseMatrixCmd->
SetGuidance(
"Write the dose/fluence to an ASCII file");
64 #ifdef G4ANALYSIS_USE_ROOT
66 FileNameCmd->SetGuidance(
"Set the .root filename for the root-output");
67 FileNameCmd->SetDefaultValue(
"default.root");
68 FileNameCmd->SetParameterName(
"choice",
true);
79 #ifdef G4ANALYSIS_USE_ROOT
87 if (command == secondaryCmd)
95 else if (command == DoseMatrixCmd)
99 pMatrix -> TotalEnergyDeposit();
100 pMatrix -> StoreDoseFluenceAscii(newValue);
101 #ifdef G4ANALYSIS_USE_ROOT
102 pMatrix -> StoreDoseFluenceRoot();
107 #ifdef G4ANALYSIS_USE_ROOT
108 else if (command == FileNameCmd)