49 secondaryCmd -> SetGuidance(
"Set if dose/fluence for the secondary particles will be written"
50 "\n[usage]: /analysis/secondary [true/false]");
61 #ifdef G4ANALYSIS_USE_ROOT
63 FileNameCmd->SetGuidance(
"Set the .root filename for the root-output");
64 FileNameCmd->SetDefaultValue(
"default.root");
65 FileNameCmd->SetParameterName(
"choice",
true);
71 LetCmd -> SetParameterName(
"choice",
true);
72 LetCmd -> SetDefaultValue(
true);
73 LetCmd -> SetGuidance(
"Set if Let must be computed and write the ASCII filename for the Let");
87 #ifdef G4ANALYSIS_USE_ROOT
107 pMatrix -> TotalEnergyDeposit();
108 pMatrix -> StoreDoseFluenceAscii(newValue);
109 #ifdef G4ANALYSIS_USE_ROOT
110 pMatrix -> StoreDoseFluenceRoot();
116 else if (command ==
LetCmd)
122 #ifdef G4ANALYSIS_USE_ROOT
123 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 *)