137 G4cout <<
" NumberOfParticlesToBeGenerated: "
154 G4cout <<
"Creating primaries and assigning to vertex" <<
G4endl;
167 G4cout <<
"Particle name: "
void SetBiasRndm(G4SPSRandomGenerator *a)
void SetParticleDefinition(G4ParticleDefinition *aParticleDefinition)
#define G4MUTEXDESTROY(mutex)
G4ThreeVector G4ParticleMomentum
G4SPSAngDistribution * angGenerator
CLHEP::Hep3Vector G4ThreeVector
static constexpr double MeV
void SetPosDistribution(G4SPSPosDistribution *a)
const G4String & GetParticleName() const
G4double GenerateOne(G4ParticleDefinition *)
void SetBiasRndm(G4SPSRandomGenerator *a)
G4double GetPDGCharge() const
G4ParticleMomentum momentum_direction
void SetKineticEnergy(G4double eKin)
void SetWeight(G4double w)
G4double GetPDGMass() const
G4Cache< part_prop_t > ParticleProperties
~G4SingleParticleSource()
void GeneratePrimaryVertex(G4Event *evt)
#define G4MUTEXINIT(mutex)
G4int NumberOfParticlesToBeGenerated
void SetPolarization(const G4ThreeVector &pol)
void SetPrimary(G4PrimaryParticle *pp)
void SetCharge(G4double chg)
G4SPSRandomGenerator * biasRndm
void SetVerbosity(G4int a)
void SetBiasRndm(G4SPSRandomGenerator *a)
G4ParticleDefinition * definition
G4ParticleMomentum GenerateOne()
void SetMomentumDirection(const G4ThreeVector &p)
G4ThreeVector polarization
G4ThreeVector GenerateOne()
G4GLOB_DLL std::ostream G4cout
void SetVerbosity(G4int a)
static G4Geantino * GeantinoDefinition()
void AddPrimaryVertex(G4PrimaryVertex *aPrimaryVertex)
void SetVerbosity(G4int a)
void SetMass(G4double mas)
G4SPSEneDistribution * eneGenerator
G4SPSPosDistribution * posGenerator