ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Member Functions | |
PurgMagPrimaryGeneratorAction () | |
~PurgMagPrimaryGeneratorAction () | |
void | GeneratePrimaries (G4Event *) |
void | SetRndmVertex (G4bool val) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | particleGun |
G4bool | rndmVertex |
Definition at line 51 of file PurgMagPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 51 of file PurgMagPrimaryGeneratorAction.hh
PurgMagPrimaryGeneratorAction::PurgMagPrimaryGeneratorAction | ( | ) |
Definition at line 57 of file PurgMagPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 57 of file PurgMagPrimaryGeneratorAction.cc
References G4Electron::Definition(), MeV, particle, particleGun, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), and G4ParticleGun::SetParticleMomentumDirection().
PurgMagPrimaryGeneratorAction::~PurgMagPrimaryGeneratorAction | ( | ) |
Definition at line 77 of file PurgMagPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 77 of file PurgMagPrimaryGeneratorAction.cc
References particleGun.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 84 of file PurgMagPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 84 of file PurgMagPrimaryGeneratorAction.cc
References cm, G4BestUnit, G4cout, G4ParticleGun::GeneratePrimaryVertex(), particleGun, G4VPrimaryGenerator::SetParticlePosition(), and G4InuclParticleNames::z0.
Definition at line 59 of file PurgMagPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 59 of file PurgMagPrimaryGeneratorAction.hh
References rndmVertex.
|
private |
Definition at line 62 of file PurgMagPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 62 of file PurgMagPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), PurgMagPrimaryGeneratorAction(), and ~PurgMagPrimaryGeneratorAction().
|
private |
Definition at line 63 of file PurgMagPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 63 of file PurgMagPrimaryGeneratorAction.hh
Referenced by SetRndmVertex().