44 secondaryCmd -> SetParameterName(
"secondary",
true);
45 secondaryCmd -> SetDefaultValue(
"true");
46 secondaryCmd -> SetGuidance(
"Set if dose/fluence for the secondary particles will be written"
47 "\n[usage]: /analysis/secondary [true/false]");
51 DoseMatrixCmd->
SetGuidance(
"Write the dose/fluence to an ASCII file");
58 #ifdef G4ANALYSIS_USE_ROOT
60 FileNameCmd->SetGuidance(
"Set the .root filename for the root-output");
61 FileNameCmd->SetDefaultValue(
"default.root");
62 FileNameCmd->SetParameterName(
"choice",
true);
68 LetCmd -> SetParameterName(
"choice",
true);
69 LetCmd -> SetDefaultValue(
true);
70 LetCmd -> SetGuidance(
"Set if Let must be computed and write the ASCII filename for the Let");
84 #ifdef G4ANALYSIS_USE_ROOT
92 if (command == secondaryCmd)
100 else if (command == DoseMatrixCmd)
104 pMatrix -> TotalEnergyDeposit();
105 pMatrix -> StoreDoseFluenceAscii(newValue);
106 #ifdef G4ANALYSIS_USE_ROOT
107 pMatrix -> StoreDoseFluenceRoot();
113 else if (command == LetCmd)
119 #ifdef G4ANALYSIS_USE_ROOT
120 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 *)