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." );
virtual void GeneratePrimaries(G4Event *anEvent)
ExN04PrimaryGeneratorMessenger * messenger
~ExN04PrimaryGeneratorAction()
G4VPrimaryGenerator * currentGenerator
G4VPrimaryGenerator * particleGun
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4VPrimaryGenerator * hepmcAscii
G4VPrimaryGenerator * pythiaGen
A generic interface class with Pythia event generator via HepMC.
ExN04PrimaryGeneratorAction()
std::map< G4String, G4VPrimaryGenerator * > gentypeMap
G4String currentGeneratorName