2 #include <G4GeneralParticleSource.hh> 7 const G4String&
name, G4VPrimaryGenerator*
gen)
14 G4Event*
evt,
const G4LorentzVector& ) {
GPSKinematicsGenerator(const G4String &name, G4VPrimaryGenerator *gps)
virtual ~GPSKinematicsGenerator()
GeneratorStatus
A status value that can be returned by GeneratePrimaryVertex.
G4VPrimaryGenerator * fGenerator
Construct a module from components.
A vertex was successfully generated.
virtual GeneratorStatus GeneratePrimaryVertex(G4Event *evt, const G4LorentzVector &position)
Add a primary vertex to the event.