35 #include "HepMCG4AsciiReaderMessenger.hh"
36 #include "HepMCG4AsciiReader.hh"
45 dir-> SetGuidance(
"Reading HepMC event from an Ascii file");
49 verbose-> SetGuidance(
"Set verbose level");
50 verbose-> SetParameterName(
"verboseLevel",
false,
false);
51 verbose-> SetRange(
"verboseLevel>=0 && verboseLevel<=1");
54 open-> SetGuidance(
"(re)open data file (HepMC Ascii format)");
55 open-> SetParameterName(
"input ascii file",
true,
true);
72 int level=
verbose-> GetNewIntValue(newValues);
73 gen-> SetVerboseLevel(level);
74 }
else if (command==
open) {
75 gen-> SetFileName(newValues);
76 G4cout <<
"HepMC Ascii inputfile: "
89 cv=
verbose-> ConvertToString(
gen-> GetVerboseLevel());
90 }
else if (command ==
open) {
91 cv=
gen-> GetFileName();
void SetNewValue(G4UIcommand *command, G4String newValues)
HepMCG4AsciiReaderMessenger(HepMCG4AsciiReader *agen)
G4UIcmdWithAnInteger * verbose
G4GLOB_DLL std::ostream G4cout
~HepMCG4AsciiReaderMessenger()
G4String GetCurrentValue(G4UIcommand *command)
G4UIcmdWithAString * open