50 #ifdef G4ANALYSIS_USE_ROOT
58 secondaryCmd -> SetParameterName(
"secondary",
true);
59 secondaryCmd -> SetDefaultValue(
"true");
60 secondaryCmd -> SetGuidance(
"Set if dose/fluence for the secondary particles will be written"
61 "\n[usage]: /analysis/secondary [true/false]");
65 DoseMatrixCmd->SetGuidance(
"Write the dose/fluence to an ASCII file");
66 DoseMatrixCmd->SetDefaultValue(
"Dose.out");
67 DoseMatrixCmd->SetParameterName(
"choice",
true);
72 #ifdef G4ANALYSIS_USE_ROOT
74 FileNameCmd->SetGuidance(
"Set the .root filename for the root-output");
75 FileNameCmd->SetDefaultValue(
"default.root");
76 FileNameCmd->SetParameterName(
"choice",
true);
87 #ifdef G4ANALYSIS_USE_ROOT
95 if (command == secondaryCmd)
103 else if (command == DoseMatrixCmd)
107 pMatrix -> TotalEnergyDeposit();
108 pMatrix -> StoreDoseFluenceAscii(newValue);
109 #ifdef G4ANALYSIS_USE_ROOT
110 pMatrix -> StoreDoseFluenceRoot();
115 #ifdef G4ANALYSIS_USE_ROOT
116 else if (command == FileNameCmd)
~IORTAnalysisFileMessenger()
IORTAnalysisFileMessenger()
static IORTAnalysisManager * GetInstance()
static IORTMatrix * GetInstance()
void SetNewValue(G4UIcommand *command, G4String newValue)