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