46 secondaryCmd -> SetGuidance(
"Set if dose/fluence for the secondary particles will be written"
47 "\n[usage]: /analysis/secondary [true/false]");
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
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()
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 *)