44   : primaryAction(genaction)
 
   47   dir-> SetGuidance(
"Control commands for primary generator");
 
   56   select-> SetGuidance(
"select generator type");
 
   57   select-> SetParameterName(
"generator_type", 
false, 
false);
 
   58   select-> SetCandidates(
"particleGun pythia hepmcAscii");
 
   59   select-> SetDefaultValue(
"particleGun");
 
   75   if ( command==select) {
 
   76     primaryAction-> SetGenerator(newValues);
 
   77     G4cout << 
"current generator type: " 
   78             << primaryAction-> GetGeneratorName() << 
G4endl;
 
   87   if (command == select) {
 
   88     cv= primaryAction-> GetGeneratorName();
 
Definition of the H02PrimaryGeneratorAction class. 
void SetNewValue(G4UIcommand *command, G4String newValues)
G4GLOB_DLL std::ostream G4cout
Definition of the H02PrimaryGeneratorMessenger class. 
H02PrimaryGeneratorMessenger(H02PrimaryGeneratorAction *genaction)
G4String GetCurrentValue(G4UIcommand *command)
~H02PrimaryGeneratorMessenger()