ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Member Functions | |
ExN02PrimaryGeneratorAction (ExN02DetectorConstruction *) | |
~ExN02PrimaryGeneratorAction () | |
void | GeneratePrimaries (G4Event *) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | particleGun |
ExN02DetectorConstruction * | myDetector |
Definition at line 45 of file ExN02PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 45 of file ExN02PrimaryGeneratorAction.hh
ExN02PrimaryGeneratorAction::ExN02PrimaryGeneratorAction | ( | ExN02DetectorConstruction * | myDC | ) |
Definition at line 45 of file ExN02PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 45 of file ExN02PrimaryGeneratorAction.cc
References G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), GeV, particle, particleGun, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), and G4ParticleGun::SetParticleMomentumDirection().
ExN02PrimaryGeneratorAction::~ExN02PrimaryGeneratorAction | ( | ) |
Definition at line 64 of file ExN02PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 64 of file ExN02PrimaryGeneratorAction.cc
References particleGun.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 71 of file ExN02PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 71 of file ExN02PrimaryGeneratorAction.cc
References cm, G4ParticleGun::GeneratePrimaryVertex(), ExN02DetectorConstruction::GetWorldFullLength(), myDetector, particleGun, and G4VPrimaryGenerator::SetParticlePosition().
|
private |
Definition at line 56 of file ExN02PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 56 of file ExN02PrimaryGeneratorAction.hh
Referenced by GeneratePrimaries().
|
private |
Definition at line 55 of file ExN02PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 55 of file ExN02PrimaryGeneratorAction.hh
Referenced by ExN02PrimaryGeneratorAction(), GeneratePrimaries(), and ~ExN02PrimaryGeneratorAction().