55 secondaryCmd -> SetParameterName(
"secondary",
true);
56 secondaryCmd -> SetDefaultValue(
"true");
57 secondaryCmd -> SetGuidance(
"Set if dose/fluence for the secondary particles will be written"
58 "\n[usage]: /analysis/secondary [true/false]");
62 DoseMatrixCmd->
SetGuidance(
"Write the dose/fluence to an ASCII file");
70 FileNameCmd->
SetGuidance(
"Set the .root filename for the root-output");
89 if (command == secondaryCmd)
97 else if (command == DoseMatrixCmd)
101 pMatrix -> TotalEnergyDeposit();
102 pMatrix -> StoreDoseFluenceAscii(newValue);
103 pMatrix -> StoreDoseFluenceRoot();
108 else if (command == FileNameCmd)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
~IORTAnalysisFileMessenger()
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
static IORTAnalysisManager * GetInstance()
void SetDefaultValue(const char *defVal)
IORTAnalysisFileMessenger(IORTAnalysisManager *amgr)
static IORTMatrix * GetInstance()
void SetNewValue(G4UIcommand *command, G4String newValue)