51 secondaryCmd -> SetParameterName(
"secondary",
true);
52 secondaryCmd -> SetDefaultValue(
"true");
53 secondaryCmd -> SetGuidance(
"Set if dose/fluence for the secondary particles will be written"
54 "\n[usage]: /analysis/secondary [true/false]");
58 DoseMatrixCmd->
SetGuidance(
"Write the dose/fluence to an ASCII file");
65 #ifdef G4ANALYSIS_USE_ROOT
67 FileNameCmd->SetGuidance(
"Set the .root filename for the root-output");
68 FileNameCmd->SetDefaultValue(
"default.root");
69 FileNameCmd->SetParameterName(
"choice",
true);
75 LetCmd -> SetParameterName(
"choice",
true);
76 LetCmd -> SetDefaultValue(
true);
77 LetCmd -> SetGuidance(
"Set if Let must be computed and write the ASCII filename for the Let");
91 #ifdef G4ANALYSIS_USE_ROOT
99 if (command == secondaryCmd)
107 else if (command == DoseMatrixCmd)
111 pMatrix -> TotalEnergyDeposit();
112 pMatrix -> StoreDoseFluenceAscii(newValue);
113 #ifdef G4ANALYSIS_USE_ROOT
114 pMatrix -> StoreDoseFluenceRoot();
120 else if (command == LetCmd)
126 #ifdef G4ANALYSIS_USE_ROOT
127 else if (command == FileNameCmd)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static HadrontherapyAnalysisManager * GetInstance()
void SetNewValue(G4UIcommand *command, G4String newValue)
static HadrontherapyLet * GetInstance()
~HadrontherapyAnalysisFileMessenger()
static HadrontherapyMatrix * GetInstance()
void SetGuidance(const char *aGuidance)
void SetDefaultValue(const char *defVal)
HadrontherapyAnalysisFileMessenger(HadrontherapyAnalysisManager *)