53 secondaryCmd -> SetGuidance(
"Set if dose/fluence for the secondary particles will be written"
54 "\n[usage]: /analysis/secondary [true/false]");
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
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()
Get the pointer to the analysis manager.
void SetNewValue(G4UIcommand *command, G4String newValue)
Called when new command given.
static HadrontherapyLet * GetInstance()
G4UIcmdWithABool * secondaryCmd
~HadrontherapyAnalysisFileMessenger()
static HadrontherapyMatrix * GetInstance()
void SetGuidance(const char *aGuidance)
void SetDefaultValue(const char *defVal)
A class for connecting the simulation to an analysis package.
G4UIcmdWithABool * LetCmd
G4 user interface command (that takes a string argument) object Constructor requires command name and...
G4UIcmdWithAString * DoseMatrixCmd
HadrontherapyAnalysisFileMessenger(HadrontherapyAnalysisManager *)