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