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