ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Member Functions | |
RE02PrimaryGeneratorAction () | |
~RE02PrimaryGeneratorAction () | |
virtual void | GeneratePrimaries (G4Event *) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4double | fSigmaPosition |
G4ParticleGun * | fParticleGun |
User primary particle generator class
Definition at line 50 of file RE02PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 50 of file RE02PrimaryGeneratorAction.hh
RE02PrimaryGeneratorAction::RE02PrimaryGeneratorAction | ( | ) |
Definition at line 44 of file RE02PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 44 of file RE02PrimaryGeneratorAction.cc
References cm, G4ParticleTable::FindParticle(), fParticleGun, fSigmaPosition, G4ParticleTable::GetParticleTable(), MeV, mm, particle, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
RE02PrimaryGeneratorAction::~RE02PrimaryGeneratorAction | ( | ) |
Definition at line 71 of file RE02PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 71 of file RE02PrimaryGeneratorAction.cc
References fParticleGun.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 78 of file RE02PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 78 of file RE02PrimaryGeneratorAction.cc
References dx, dy, fParticleGun, fSigmaPosition, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), G4VPrimaryGenerator::GetParticlePosition(), G4VPrimaryGenerator::SetParticlePosition(), CLHEP::Hep3Vector::setX(), and CLHEP::Hep3Vector::setY().
|
private |
Definition at line 61 of file RE02PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 61 of file RE02PrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), RE02PrimaryGeneratorAction(), and ~RE02PrimaryGeneratorAction().
|
private |
Definition at line 60 of file RE02PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 60 of file RE02PrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), and RE02PrimaryGeneratorAction().