1 #ifndef EDepSim_PrimaryGenerator_hh_Seen 2 #define EDepSim_PrimaryGenerator_hh_Seen 5 #include <G4VPrimaryGenerator.hh> 7 namespace EDepSim {
class VKinematicsGenerator;}
8 namespace EDepSim {
class VCountGenerator;}
9 namespace EDepSim {
class VPositionGenerator;}
10 namespace EDepSim {
class VTimeGenerator;}
19 namespace EDepSim {
class PrimaryGenerator;}
virtual ~PrimaryGenerator()
const EDepSim::VCountGenerator * GetCountGenerator() const
Return the count generator.
const EDepSim::VPositionGenerator * GetPositionGenerator() const
Return the position generator.
EDepSim::VTimeGenerator * fTime
Construct a module from components.
const EDepSim::VKinematicsGenerator * GetKinematicsGenerator() const
Return the kinematics generator;.
PrimaryGenerator(EDepSim::VKinematicsGenerator *kine, EDepSim::VCountGenerator *count, EDepSim::VPositionGenerator *position, EDepSim::VTimeGenerator *time)
G4String GetName()
Return the name of this generator.
const EDepSim::VTimeGenerator * GetTimeGenerator() const
Return the time generator.
EDepSim::VPositionGenerator * fPosition
EDepSim::VKinematicsGenerator * fKinematics
virtual void GeneratePrimaryVertex(G4Event *evt)
EDepSim::VCountGenerator * fCount