54 secondaryCmd -> SetParameterName(
"secondary",
true);
55 secondaryCmd -> SetDefaultValue(
"true");
56 secondaryCmd -> SetGuidance(
"Set if dose/fluence for the secondary particles will be written"
57 "\n[usage]: /analysis/secondary [true/false]");
61 DoseMatrixCmd->
SetGuidance(
"Write the dose/fluence to an ASCII file");
68 #ifdef G4ANALYSIS_USE_ROOT
70 FileNameCmd->SetGuidance(
"Set the .root filename for the root-output");
71 FileNameCmd->SetDefaultValue(
"default.root");
72 FileNameCmd->SetParameterName(
"choice",
true);
83 #ifdef G4ANALYSIS_USE_ROOT
91 if (command == secondaryCmd)
99 else if (command == DoseMatrixCmd)
103 pMatrix -> TotalEnergyDeposit();
104 pMatrix -> StoreDoseFluenceAscii(newValue);
105 #ifdef G4ANALYSIS_USE_ROOT
106 pMatrix -> StoreDoseFluenceRoot();
111 #ifdef G4ANALYSIS_USE_ROOT
112 else if (command == FileNameCmd)