ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Member Functions | |
PrimaryGenerator () | |
~PrimaryGenerator () | |
virtual void | GeneratePrimaryVertex (G4Event *) |
Public Member Functions inherited from G4VPrimaryGenerator | |
G4VPrimaryGenerator () | |
virtual | ~G4VPrimaryGenerator () |
G4ThreeVector | GetParticlePosition () |
G4double | GetParticleTime () |
void | SetParticlePosition (G4ThreeVector aPosition) |
void | SetParticleTime (G4double aTime) |
Additional Inherited Members | |
Static Public Member Functions inherited from G4VPrimaryGenerator | |
static G4bool | CheckVertexInsideWorld (const G4ThreeVector &pos) |
Protected Attributes inherited from G4VPrimaryGenerator | |
G4ThreeVector | particle_position |
G4double | particle_time |
Definition at line 43 of file PrimaryGenerator.hh.
View newest version in sPHENIX GitHub at line 43 of file PrimaryGenerator.hh
PrimaryGenerator::PrimaryGenerator | ( | ) |
Definition at line 47 of file PrimaryGenerator.cc.
View newest version in sPHENIX GitHub at line 47 of file PrimaryGenerator.cc
PrimaryGenerator::~PrimaryGenerator | ( | ) |
Definition at line 53 of file PrimaryGenerator.cc.
View newest version in sPHENIX GitHub at line 53 of file PrimaryGenerator.cc
Implements G4VPrimaryGenerator.
Definition at line 58 of file PrimaryGenerator.cc.
View newest version in sPHENIX GitHub at line 58 of file PrimaryGenerator.cc
References alpha, deg, G4ParticleTable::FindParticle(), G4UniformRand, G4ParticleTable::GetParticleTable(), GeV, keV, MeV, mm, pi, r, G4PrimaryParticle::SetKineticEnergy(), G4PrimaryParticle::SetMomentumDirection(), G4PrimaryVertex::SetPrimary(), twopi, ux, uy, and z.