32 #include "HepMCG4AsciiReader.hh"
33 #include "HepMCG4PythiaInterface.hh"
44 #ifdef G4LIB_USE_PYTHIA
69 G4Exception(
"H02PrimaryGeneratorAction::GeneratePrimaries",
71 "Generator is not instanciated.");
G4String currentGeneratorName
Definition of the H02PrimaryGeneratorMessenger class.
G4VPrimaryGenerator * particleGun
H02PrimaryGeneratorMessenger * messenger
Definition of the H02PrimaryGeneratorAction class.
virtual void GeneratePrimaries(G4Event *anEvent)
H02PrimaryGeneratorAction()
G4VPrimaryGenerator * currentGenerator
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4VPrimaryGenerator * pythiaGen
A generic interface class with Pythia event generator via HepMC.
G4VPrimaryGenerator * hepmcAscii
std::map< G4String, G4VPrimaryGenerator * > gentypeMap
~H02PrimaryGeneratorAction()